Gets a value indicating whether the Type is one of the primitive types.
[Visual Basic] Public ReadOnly Property IsPrimitive As Boolean [C#] public bool IsPrimitive {get;} [C++] public: __property bool get_IsPrimitive(); [JScript] public function get IsPrimitive() : Boolean;
true if the Type is one of the primitive types; otherwise, false.
The primitive types are Boolean, Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Char, Double, and Single.
Type Class | Type Members | System Namespace | Boolean | Byte | SByte | Int16 | UInt16 | Int32 | UInt32 | Int64 | UInt64 | Char | Double | Single | IsPrimitiveImpl