_Type.IsPrimitive Property


Provides COM objects with version-independent access to the IsPrimitive property.

 property bool IsPrimitive { bool get(); };
public bool IsPrimitive { get; }
member this.IsPrimitive : bool
Public ReadOnly Property IsPrimitive As Boolean

Property Value

true if the Type is one of the primitive types; otherwise, false.


This property is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.IsPrimitive property gets a value indicating whether the Type is one of the primitive types.

Applies to