'Declaration
<NotNullAttribute()> Public Shared Function VarTypeFromType( _ ByVal type As Type _ ) As VarType
'Usage
Dim type As Type Dim value As VarType value = VarTypeUtilities.VarTypeFromType(type)
Parameters
- type
- The System.Type for which the corresponding OLE Automation type should be determined.
Return Value
The resulting VarType. If it cannot be specifically determined, a VarTypes.Empty is returned.