System.Runtime.InteropServices.ComTypes Namespace

System.Runtime.InteropServices.ComTypes 命名空間包含 Managed 類型,對應至 COM Interop使用的類型。 The System.Runtime.InteropServices.ComTypes namespace contains managed types that correspond to types used by COM interop.

結構

BIND_OPTS

儲存在 Moniker 繫結作業期間使用的參數。Stores the parameters that are used during a moniker binding operation.

BINDPTR

包含繫結至 FUNCDESC 結構、VARDESC 結構或 ITypeComp 介面的指標。Contains a pointer to a bound-to FUNCDESC structure, VARDESC structure, or an ITypeComp interface.

CONNECTDATA

描述指定連接點上存在的連接。Describes a connection that exists to a given connection point.

DISPPARAMS

包含 IDispatch::Invoke 傳遞給方法或屬性的引數。Contains the arguments passed to a method or property by IDispatch::Invoke.

ELEMDESC

包含類型描述,並處理變數、函式或函式參數的傳輸資訊。Contains the type description and process transfer information for a variable, function, or a function parameter.

ELEMDESC.DESCUNION

包含項目的相關資訊。Contains information about an element.

EXCEPINFO

描述在 IDispatch::Invoke 期間發生的例外狀況。Describes the exceptions that occur during IDispatch::Invoke.

FILETIME

表示自 1601 年 1 月 1 日以來 100 奈秒 (十億分之一秒) 間隔的數目。Represents the number of 100-nanosecond intervals since January 1, 1601. 這種結構是 64 位元的值。This structure is a 64-bit value.

FORMATETC

表示通用的剪貼簿格式。Represents a generalized Clipboard format.

FUNCDESC

定義函式描述。Defines a function description.

IDLDESC

包含在處理序之間傳輸結構項目、參數或函式傳回值所需的資訊。Contains information needed for transferring a structure element, parameter, or function return value between processes.

PARAMDESC

包含如何在處理序之間傳輸結構項目、參數或函式傳回值的相關資訊。Contains information about how to transfer a structure element, parameter, or function return value between processes.

STATDATA

提供 STATDATA 結構的 Managed 定義。Provides the managed definition of the STATDATA structure.

STATSTG

包含開放儲存區、資料流或位元組陣列物件的統計資訊。Contains statistical information about an open storage, stream, or byte-array object.

STGMEDIUM

提供 STGMEDIUM 結構的 Managed 定義。Provides the managed definition of the STGMEDIUM structure.

TYPEATTR

含有 UCOMITypeInfo 的屬性 (Attribute)。Contains attributes of a UCOMITypeInfo.

TYPEDESC

描述變數的類型、函式的傳回類型或函式參數的類型。Describes the type of a variable, return type of a function, or the type of a function parameter.

TYPELIBATTR

識別特定類型程式庫,並提供成員名稱的當地語系化支援。Identifies a particular type library and provides localization support for member names.

VARDESC

描述變數、常數或資料成員。Describes a variable, constant, or data member.

VARDESC.DESCUNION

包含變數的相關資訊。Contains information about a variable.

介面

IAdviseSink

提供 IAdviseSink 介面的 Managed 定義。Provides a managed definition of the IAdviseSink interface.

IBindCtx

提供 IBindCtx 介面的 Managed 定義。Provides the managed definition of the IBindCtx interface.

IConnectionPoint

提供 IConnectionPoint 介面的 Managed 定義。Provides the managed definition of the IConnectionPoint interface.

IConnectionPointContainer

提供 IConnectionPointContainer 介面的 Managed 定義。Provides the managed definition of the IConnectionPointContainer interface.

IDataObject

提供 IDataObject 介面的 Managed 定義。Provides the managed definition of the IDataObject interface.

IEnumConnectionPoints

管理 IEnumConnectionPoints 介面的定義。Manages the definition of the IEnumConnectionPoints interface.

IEnumConnections

管理 IEnumConnections 介面的定義。Manages the definition of the IEnumConnections interface.

IEnumFORMATETC

提供 IEnumFORMATETC 介面的 Managed 定義。Provides the managed definition of the IEnumFORMATETC interface.

IEnumMoniker

管理 IEnumMoniker 介面的定義。Manages the definition of the IEnumMoniker interface.

IEnumSTATDATA

提供 IEnumSTATDATA 介面的 Managed 定義。Provides the managed definition of the IEnumSTATDATA interface.

IEnumString

管理 IEnumString 介面的定義。Manages the definition of the IEnumString interface.

IEnumVARIANT

管理 IEnumVARIANT 介面的定義。Manages the definition of the IEnumVARIANT interface.

IMoniker

提供 IMoniker 介面的 Managed 定義,具有 IPersistIPersistStream 的 COM 功能。Provides the managed definition of the IMoniker interface, with COM functionality from IPersist and IPersistStream.

IPersistFile

提供 IPersistFile 介面的 Managed 定義,具有 IPersist 的功能。Provides the managed definition of the IPersistFile interface, with functionality from IPersist.

IRunningObjectTable

提供 IRunningObjectTable 介面的 Managed 定義。Provides the managed definition of the IRunningObjectTable interface.

IStream

提供 IStream 介面的 Managed 定義,具有 ISequentialStream 功能。Provides the managed definition of the IStream interface, with ISequentialStream functionality.

ITypeComp

提供 ITypeComp 介面的 Managed 定義。Provides the managed definition of the ITypeComp interface.

ITypeInfo

提供元件自動化 ITypeInfo 介面的 Managed 定義。Provides the managed definition of the Component Automation ITypeInfo interface.

ITypeInfo2

提供 ITypeInfo2 介面的 Managed 定義。Provides the managed definition of the ITypeInfo2 interface.

ITypeLib

提供 ITypeLib 介面的 Managed 定義。Provides the managed definition of the ITypeLib interface.

ITypeLib2

提供 ITypeLib2 介面的 Managed 定義。Provides a managed definition of the ITypeLib2 interface.

列舉

ADVF

指定設定通知接收或快取物件連接時的要求行為。Specifies the requested behavior when setting up an advise sink or a caching connection with an object.

CALLCONV

識別 METHODDATA 結構中所述方法使用的呼叫慣例。Identifies the calling convention used by a method described in a METHODDATA structure.

DATADIR

EnumFormatEtc(DATADIR) 方法的 dwDirection 參數中,指定資料流量的方向。Specifies the direction of the data flow in the dwDirection parameter of the EnumFormatEtc(DATADIR) method. 這決定了產生的列舉值可以列舉的格式。This determines the formats that the resulting enumerator can enumerate.

DESCKIND

識別所要繫結的類型描述。Identifies the type description being bound to.

DVASPECT

指定繪製或取得資料時所需的資料或物件的檢視外觀。Specifies the desired data or view aspect of the object when drawing or getting data.

FUNCFLAGS

識別定義函數屬性的常數。Identifies the constants that define the properties of a function.

FUNCKIND

定義如何存取函式。Defines how to access a function.

IDLFLAG

描述如何在處理序之間傳輸結構項目、參數或函式傳回值。Describes how to transfer a structure element, parameter, or function return value between processes.

IMPLTYPEFLAGS

定義所實作或繼承之類型介面的屬性。Defines the attributes of an implemented or inherited interface of a type.

INVOKEKIND

指定如何以 IDispatch::Invoke 叫用 (Invoke) 函式。Specifies how to invoke a function by IDispatch::Invoke.

LIBFLAGS

定義套用至類型程式庫的旗標。Defines flags that apply to type libraries.

PARAMFLAG

描述如何在處理序之間傳輸結構項目、參數或函式傳回值。Describes how to transfer a structure element, parameter, or function return value between processes.

SYSKIND

識別目標作業系統平台。Identifies the target operating system platform.

TYMED

提供 TYMED 結構的 Managed 定義。Provides the managed definition of the TYMED structure.

TYPEFLAGS

定義類型描述的屬性 (Property 和 Attribute)。Defines the properties and attributes of a type description.

TYPEKIND

指定各種類型的資料和函式。Specifies various types of data and functions.

VARFLAGS

識別定義變數屬性的常數。Identifies the constants that define the properties of a variable.

VARKIND

定義變數的類型。Defines the kind of variable.