'Declaration
<CanBeNullAttribute()> Function AsPrimitiveDataType() As PrimitiveDataType
'Usage
Dim instance As _UnionDataType Dim value As PrimitiveDataType value = instance.AsPrimitiveDataType()
[CanBeNull()] PrimitiveDataType AsPrimitiveDataType()
[CanBeNull()] PrimitiveDataType^ AsPrimitiveDataType();
Return Value
This method can return null
(Nothing
in Visual Basic).