Edit

Share via


_Type.IsPrimitive Property

Definition

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.

Applies to