This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
CType Function
Returns the result of explicitly casting an expression to a specified date type, object, class, or interface.
CType(expression, typename)
Arguments
- expression
- Any valid expression.
- typename
- Any expression that is legal within an As clause in a Dim statement, that is the name of any data type, object, class or interface.
See Also
Example