System.Runtime.InteropServices.ComTypes.TYPEKIND Enumeration

Specifies various types of data and functions.

Syntax

public enum TYPEKIND

Remarks

For additional information about TYPEKIND, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Members

Member NameDescription
TKIND_ALIAS

A type that is an alias for another type.

TKIND_COCLASS

A set of implemented components interfaces.

TKIND_DISPATCH

A set of methods and properties that are accessible through IDispatch::Invoke. By default, dual interfaces return TKIND_DISPATCH.

TKIND_ENUM

A set of enumerators.

TKIND_INTERFACE

A type that has virtual functions, all of which are pure.

TKIND_MAX

End-of-enumeration marker.

TKIND_MODULE

A module that can have only static functions and data (for example, a DLL).

TKIND_RECORD

A structure with no methods.

TKIND_UNION

A union of all members that have an offset of zero.

Requirements

Namespace: System.Runtime.InteropServices.ComTypes
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0