'Declaration
<ExtensionAttribute()> <CanBeNullAttribute()> Public Shared Function AsPrimitiveDataType( _ ByVal dataType As DataType _ ) As PrimitiveDataType
'Usage
Dim dataType As DataType Dim value As PrimitiveDataType value = DataTypeExtension.AsPrimitiveDataType(dataType)
[Extension()] [CanBeNull()] public static PrimitiveDataType AsPrimitiveDataType( DataType dataType )
[Extension()] [CanBeNull()] public: static PrimitiveDataType^ AsPrimitiveDataType( DataType^ dataType )
Parameters
- dataType
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method can return null
(Nothing
in Visual Basic).