TYPEKIND TYPEKIND TYPEKIND TYPEKIND Enum

定义

指定各种类型的数据和函数。Specifies various types of data and functions.

public enum class TYPEKIND
[System.Serializable]
public enum TYPEKIND
type TYPEKIND = 
Public Enum TYPEKIND
继承
属性

字段

TKIND_ALIAS TKIND_ALIAS TKIND_ALIAS TKIND_ALIAS 6

类型,它是另一个类型的别名。A type that is an alias for another type.

TKIND_COCLASS TKIND_COCLASS TKIND_COCLASS TKIND_COCLASS 5

已实现的组件接口集。A set of implemented components interfaces.

TKIND_DISPATCH TKIND_DISPATCH TKIND_DISPATCH TKIND_DISPATCH 4

可通过 IDispatch::Invoke 访问的方法和属性集。A set of methods and properties that are accessible through IDispatch::Invoke. 默认情况下,双重接口返回 TKIND_DISPATCHBy default, dual interfaces return TKIND_DISPATCH.

TKIND_ENUM TKIND_ENUM TKIND_ENUM TKIND_ENUM 0

枚举数集。A set of enumerators.

TKIND_INTERFACE TKIND_INTERFACE TKIND_INTERFACE TKIND_INTERFACE 3

类型,它具有虚函数(全部为纯虚函数)。A type that has virtual functions, all of which are pure.

TKIND_MAX TKIND_MAX TKIND_MAX TKIND_MAX 8

枚举结尾标记。End-of-enumeration marker.

TKIND_MODULE TKIND_MODULE TKIND_MODULE TKIND_MODULE 2

模块,它只能包含静态函数和数据(例如 DLL)。A module that can have only static functions and data (for example, a DLL).

TKIND_RECORD TKIND_RECORD TKIND_RECORD TKIND_RECORD 1

没有方法的结构。A structure with no methods.

TKIND_UNION TKIND_UNION TKIND_UNION TKIND_UNION 7

偏移量为零的所有成员的联合。A union of all members that have an offset of zero.

注解

有关的其他信息TYPEKIND, 请参阅 MSDN library。For additional information about TYPEKIND, see the MSDN Library.

当本机代码中的 COM 方法返回 HRESULT 时, 公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

适用于