System.Runtime.InteropServices.ComTypes Namespace
.NET Framework 4.5
The System.Runtime.InteropServices.ComTypes namespace contains methods that are defintions of COM functions for managed code. These functions replace the now-obsolete UCOM* methods in the System.Runtime.InteropServices namespace.
| Structure | Description | |
|---|---|---|
|
BIND_OPTS | Stores the parameters that are used during a moniker binding operation. |
|
BINDPTR | 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 | 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 | Describes the exceptions that occur during IDispatch::Invoke. |
|
FILETIME | Represents the number of 100-nanosecond intervals since January 1, 1601. 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 | Provides the managed definition of the STATDATA structure. |
|
STATSTG | Contains statistical information about an open storage, stream, or byte-array object. |
|
STGMEDIUM | Provides the managed definition of the STGMEDIUM structure. |
|
TYPEATTR | 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. |
| Interface | Description | |
|---|---|---|
|
IAdviseSink | Provides a managed definition of the IAdviseSink interface. |
|
IBindCtx | Provides the managed definition of the IBindCtx interface. |
|
IConnectionPoint | Provides the managed definition of the IConnectionPoint interface. |
|
IConnectionPointContainer | Provides the managed definition of the IConnectionPointContainer interface. |
|
IDataObject | Provides the managed definition of the IDataObject interface. |
|
IEnumConnectionPoints | Manages the definition of the IEnumConnectionPoints interface. |
|
IEnumConnections | Manages the definition of the IEnumConnections interface. |
|
IEnumFORMATETC | Provides the managed definition of the IEnumFORMATETC interface. |
|
IEnumMoniker | Manages the definition of the IEnumMoniker interface. |
|
IEnumSTATDATA | Provides the managed definition of the IEnumSTATDATA interface. |
|
IEnumString | Manages the definition of the IEnumString interface. |
|
IEnumVARIANT | Manages the definition of the IEnumVARIANT interface. |
|
IMoniker | Provides the managed definition of the IMoniker interface, with COM functionality from IPersist and IPersistStream. |
|
IPersistFile | Provides the managed definition of the IPersistFile interface, with functionality from IPersist. |
|
IRunningObjectTable | Provides the managed definition of the IRunningObjectTable interface. |
|
IStream | Provides the managed definition of the IStream interface, with ISequentialStream functionality. |
|
ITypeComp | Provides the managed definition of the ITypeComp interface. |
|
ITypeInfo | Provides the managed definition of the Component Automation ITypeInfo interface. |
|
ITypeInfo2 | Provides the managed definition of the ITypeInfo2 interface. |
|
ITypeLib | Provides the managed definition of the ITypeLib interface. |
|
ITypeLib2 | Provides a managed definition of the ITypeLib2 interface. |
| Enumeration | Description | |
|---|---|---|
|
ADVF | Specifies the requested behavior when setting up an advise sink or a caching connection with an object. |
|
CALLCONV | Identifies the calling convention used by a method described in a METHODDATA Data Type structure. |
|
DATADIR | Specifies the direction of the data flow in the dwDirection parameter of the EnumFormatEtc 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 | 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 | 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. |