TYPEKIND Enumeration

Specifies various types of data and functions.

Namespace:  System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

public enum TYPEKIND

Member nameDescription
Supported by Portable Class LibraryTKIND_ALIASA type that is an alias for another type.
Supported by Portable Class LibraryTKIND_COCLASSA set of implemented components interfaces.
Supported by Portable Class LibraryTKIND_DISPATCHA set of methods and properties that are accessible through IDispatch::Invoke. By default, dual interfaces return TKIND_DISPATCH.
Supported by Portable Class LibraryTKIND_ENUMA set of enumerators.
Supported by Portable Class LibraryTKIND_INTERFACEA type that has virtual functions, all of which are pure.
Supported by Portable Class LibraryTKIND_MAXEnd-of-enumeration marker.
Supported by Portable Class LibraryTKIND_MODULEA module that can have only static functions and data (for example, a DLL).
Supported by Portable Class LibraryTKIND_RECORDA structure with no methods.
Supported by Portable Class LibraryTKIND_UNIONA union of all members that have an offset of zero.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft