System.Runtime.InteropServices.ComTypes 命名空间

System.Runtime.InteropServices.ComTypes 命名空间包含对应于 COM 互操作所用类型的托管类型。 The System.Runtime.InteropServices.ComTypes namespace contains managed types that correspond to types used by COM interop.

结构

BIND_OPTS

存储名字对象绑定操作中使用的参数。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 结构的托管定义。Provides the managed definition of the STATDATA structure.

STATSTG

包含关于开源存储器、流或字节数组对象的统计信息。Contains statistical information about an open storage, stream, or byte-array object.

STGMEDIUM

提供 STGMEDIUM 结构的托管定义。Provides the managed definition of the STGMEDIUM structure.

TYPEATTR

包含 UCOMITypeInfo 的特性。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 接口的托管定义。Provides a managed definition of the IAdviseSink interface.

IBindCtx

提供 IBindCtx 接口的托管定义。Provides the managed definition of the IBindCtx interface.

IConnectionPoint

提供 IConnectionPoint 接口的托管定义。Provides the managed definition of the IConnectionPoint interface.

IConnectionPointContainer

提供 IConnectionPointContainer 接口的托管定义。Provides the managed definition of the IConnectionPointContainer interface.

IDataObject

提供 IDataObject 接口的托管定义。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 接口的托管定义。Provides the managed definition of the IEnumFORMATETC interface.

IEnumMoniker

管理 IEnumMoniker 接口的定义。Manages the definition of the IEnumMoniker interface.

IEnumSTATDATA

提供 IEnumSTATDATA 接口的托管定义。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 接口的托管定义,具有 IPersistIPersistStream 中的 COM 功能。Provides the managed definition of the IMoniker interface, with COM functionality from IPersist and IPersistStream.

IPersistFile

提供具有 IPersistFile 中的功能的 IPersist 接口的托管定义。Provides the managed definition of the IPersistFile interface, with functionality from IPersist.

IRunningObjectTable

提供 IRunningObjectTable 接口的托管定义。Provides the managed definition of the IRunningObjectTable interface.

IStream

提供具有 IStream 功能的 ISequentialStream 接口的托管定义。Provides the managed definition of the IStream interface, with ISequentialStream functionality.

ITypeComp

提供 ITypeComp 接口的托管定义。Provides the managed definition of the ITypeComp interface.

ITypeInfo

提供组件自动化 ITypeInfo 接口的托管定义。Provides the managed definition of the Component Automation ITypeInfo interface.

ITypeInfo2

提供 ITypeInfo2 接口的托管定义。Provides the managed definition of the ITypeInfo2 interface.

ITypeLib

提供 ITypeLib 接口的托管定义。Provides the managed definition of the ITypeLib interface.

ITypeLib2

提供 ITypeLib2 接口的托管定义。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 来调用函数。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 结构的托管定义。Provides the managed definition of the TYMED structure.

TYPEFLAGS

定义类型说明的属性和特性。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.