Gets a value indicating whether the Type is an interface; that is, not a class or a value type.
[Visual Basic] Public ReadOnly Property IsInterface As Boolean [C#] public bool IsInterface {get;} [C++] public: __property bool get_IsInterface(); [JScript] public function get IsInterface() : Boolean;
true if the Type is an interface; otherwise, false.
The ClassSemanticsMask is used to distinguish a type declaration as class, interface or value type.
Type Class | Type Members | System Namespace | TypeAttributes | IsClass | IsValueType | IsUnmanagedValueType