NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Type.IsValueType

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;

Property Value

true if the Type is a value type; otherwise, false.

Remarks

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.

See Also

Type Class | Type Members | System Namespace | TypeAttributes | IsClass | IsInterface | IsUnmanagedValueType | Value | ValueType | IsValueTypeImpl