Selerix Developer Tools
Age Method






Selerix.BusinessObjects Assembly > Selerix.BusinessObjects Namespace > Applicant Class : Age Method
As of date.
If there's nothing entered in the birth date field, show an error message and return the age based on the calculation.
Syntax
'Declaration
 
Public Overridable Function Age( _
   ByVal asOfDate As Date _
) As Integer
'Usage
 
Dim instance As Applicant
Dim asOfDate As Date
Dim value As Integer
 
value = instance.Age(asOfDate)
public virtual int Age( 
   DateTime asOfDate
)
public function Age( 
    asOfDate: DateTime
): Integer; virtual; 
public function Age( 
   asOfDate : DateTime
) : int;
public: virtual int Age( 
   DateTime asOfDate
) 
public:
virtual int Age( 
   DateTime asOfDate
) 

Parameters

asOfDate
As of date.

Return Value

age calculation
See Also

Reference

Applicant Class
Applicant Members