Gets a value indicating whether the Type is a value type; that is, not a class or an interface.
[Visual Basic] Public ReadOnly Property IsValueType As Boolean [C#] public bool IsValueType {get;} [C++] public: __property bool get_IsValueType(); [JScript] public function get IsValueType() : Boolean;
true if the Type is a value type; otherwise, false.
The ClassSemanticsMask is used to distinguish a type declaration as class, interface or value type.
Value types describe values that are represented as sequences of bits; value types are not classes or interfaces. These are referred to as "structs" in some programming languages. Enums are a special case of value types.
Type Class | Type Members | System Namespace | TypeAttributes | IsClass | IsInterface | IsUnmanagedValueType | Value | ValueType | IsValueTypeImpl