System.Runtime.InteropServices.ComTypes Namespace

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.

Remarks

To be added.

Classes

TypeReason
ADVF

Specifies the requested behavior when setting up an advise sink or a caching connection with an object.

BIND_OPTS

Stores the parameters that are used during a moniker binding operation.

BINDPTR

Contains a pointer to a bound-to System.Runtime.InteropServices.FUNCDESC structure, System.Runtime.InteropServices.VARDESC structure, or an ITypeComp interface.

CALLCONV

Identifies the calling convention used by a method described in a METHODDATA structure.

CONNECTDATA

Describes a connection that exists to a given connection point.

DATADIR

Specifies the direction of the data flow in the dwDirection parameter of the System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc(System.Runtime.InteropServices.ComTypes.DATADIR) method. This determines the formats that the resulting enumerator can enumerate.

DESCKIND

Identifies the type description being bound to.

DISPPARAMS

Contains the arguments passed to a method or property by IDispatch::Invoke.

DVASPECT

Specifies the desired data or view aspect of the object when drawing or getting data.

ELEMDESC

Contains the type description and process transfer information for a variable, function, or a function parameter.

ELEMDESC+DESCUNIONDocumentation for this section has not yet been entered.
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.

FUNCFLAGS

Identifies the constants that define the properties of a function.

FUNCKIND

Defines how to access a function.

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.

IDLDESC

Contains information needed for transferring a structure element, parameter, or function return value between processes.

IDLFLAG

Describes how to transfer a structure element, parameter, or function return value between processes.

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.

IMPLTYPEFLAGS

Defines the attributes of an implemented or inherited interface of a type.

INVOKEKIND

Specifies how to invoke a function by IDispatch::Invoke.

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.

LIBFLAGS

Defines flags that apply to type libraries.

PARAMDESC

Contains information about how to transfer a structure element, parameter, or function return value between processes.

PARAMFLAG

Describes 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.

SYSKIND

Identifies the target operating system platform.

TYMED

Provides the managed definition of the TYMED 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.

TYPEFLAGS

Defines the properties and attributes of a type description.

TYPEKIND

Specifies various types of data and functions.

TYPELIBATTR

Identifies a particular type library and provides localization support for member names.

VARDESC

Describes a variable, constant, or data member.

VARDESC+DESCUNIONDocumentation for this section has not yet been entered.
VARFLAGS

Identifies the constants that define the properties of a variable.

VARKIND

Defines the kind of variable.