TYPEKIND Enumeration

TYPEKIND Enumeration

 

Specifies various types of data and functions.

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

[SerializableAttribute]
public enum class TYPEKIND

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.

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft