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

接收會透過虛擬函式表 (Virtual Function Table,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 時,common language runtime 會擲回例外狀況。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.

適用於