_Type.IsPrimitive Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides COM objects with version-independent access to the IsPrimitive property.
public:
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
.
Remarks
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.