IMPLTYPEFLAGS 枚举

定义

定义类型的实现接口或继承接口的属性。Defines the attributes of an implemented or inherited interface of a type.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

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

字段

IMPLTYPEFLAG_FDEFAULT 1

该接口或调度接口表示源或接收器的默认值。The interface or dispinterface represents the default for the source or sink.

IMPLTYPEFLAG_FDEFAULTVTABLE 8

接收器通过虚函数表 (VTBL) 接收事件。Sinks receive events through the virtual function table (VTBL).

IMPLTYPEFLAG_FRESTRICTED 4

不应显示该成员,用户也不应对该成员进行编程。The member should not be displayed or programmable by users.

IMPLTYPEFLAG_FSOURCE 2

调用而不是实现 coclass 的此成员。This member of a coclass is called rather than implemented.

注解

有关的其他信息IMPLTYPEFLAGS, 请参阅 MSDN library。For additional information about IMPLTYPEFLAGS, 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.

适用于