ActiveReports 12
Asc(String) Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace > Strings Class > Asc Method : Asc(String) Method
Required. Any valid Char or String expression. If String is a String expression, only the first character of the string is used for input. If String is Nothing or contains no characters, an System.ArgumentException error occurs.
Returns an Integer value representing the character code corresponding to a character.
Syntax
'Declaration
 
Public Overloads Shared Function Asc( _
   ByVal String As String _
) As Integer
public static int Asc( 
   string String
)

Parameters

String
Required. Any valid Char or String expression. If String is a String expression, only the first character of the string is used for input. If String is Nothing or contains no characters, an System.ArgumentException error occurs.

Return Value

Returns an Integer value representing the character code corresponding to a character.
See Also

Reference

Strings Class
Strings Members
Overload List