Muokkaa

Jaa


IXCLRDataTypeInstance Interface

Provides methods for querying information about a type instance.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Methods

Method Description
GetNumStaticFields Gets the number of static fields in the type.
GetStaticFieldByIndex Get one static field of the type.
GetDefinition Gets the type definition matching this instance.
StartEnumMethodInstances Provides a handle to enumerate the method instances of the type.
EnumMethodInstance Enumerates the method instances of the type.
EndEnumMethodInstances Releases the resources used by internal iterators used during method instance enumeration.
GetName Gets the fully qualified name of this type instance.

Remarks

This interface lives inside the runtime and is not exposed through any headers or library files. However, it's a COM interface that derives from IUnknown with GUID 4D078D91-9CB3-4b0d-97AC-28C8A5A82597 that can be obtained through the usual COM mechanisms.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also