ICorDebugClass Interface
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.
Methods
Method | Description |
---|---|
GetModule Method | Gets the module that defines this class. |
GetStaticFieldValue Method | Gets the value of the specified static field. |
GetToken Method | Gets the TypeDef metadata token for this class. |
Remarks
The ICorDebugClass
interface represents an uninstantiated generic type. The ICorDebugType 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
.
Non-generic types are represented by both ICorDebugClass
and ICorDebugType
. The latter interface was introduced in the .NET Framework version 2.0 to deal with type instantiation.
Note
This interface does not support being called remotely, either cross-machine or cross-process.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
See also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho