Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents a type, which can be either basic or complex (that is, user-defined). If the type is generic, ICorDebugClass represents the uninstantiated generic type.
interface ICorDebugClass : IUnknown {
HRESULT GetModule (
[out] ICorDebugModule **pModule
);
HRESULT GetStaticFieldValue (
[in] mdFieldDef fieldDef,
[in] ICorDebugFrame *pFrame,
[out] ICorDebugValue **ppValue
);
HRESULT GetToken (
[out] mdTypeDef *pTypeDef
);
};
Methods
Method | Description |
---|---|
Gets the module that defines this class. |
|
Gets the value of the specified static field. |
|
Gets the TypeDef metadata token for this class. |
Remarks
The ICorDebugClass interface represents an uninstantiated generic type. The ICorDebugType Interface interface represents an instantiated generic type. For example, Hashtable<K, V>
would be represented by ICorDebugClass, whereas Hashtable<Int32, String>
would be represented by ICorDebugType Interface.
Non-generic types are represented by both ICorDebugClass and ICorDebugType Interface. The latter interface was introduced in the .NET Framework version 2.0 to deal with type instantiation.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Version: 2.0, 1.1, 1.0