Udostępnij przez


ICorDebugClass, interfejs

Reprezentuje typ, który może być podstawowy lub złożony (czyli zdefiniowany przez użytkownika). Jeśli typ jest ogólny, ICorDebugClass reprezentuje niezainstantowany typ ogólny.

Methods

Metoda Description
GetModule, metoda Pobiera moduł definiujący tę klasę.
GetStaticFieldValue, metoda Pobiera wartość określonego pola statycznego.
GetToken, metoda TypeDef Pobiera token metadanych dla tej klasy.

Uwagi

Interfejs ICorDebugClass reprezentuje niezainstantowany typ ogólny. Interfejs ICorDebugType reprezentuje wystąpienie typu ogólnego. Na przykład Hashtable<K, V> wartość będzie reprezentowana przez ICorDebugClassparametr , natomiast Hashtable<Int32, String> wartość jest reprezentowana przez ICorDebugType.

Typy inne niż ogólne są reprezentowane zarówno przez , jak ICorDebugClass i ICorDebugType. Ten ostatni interfejs został wprowadzony w programie .NET Framework 2.0 w celu obsługi wystąpień typu.

Uwaga / Notatka

Ten interfejs nie obsługuje wywoływanego zdalnie, między maszynami lub między procesami.

Requirements

Platformy: Zobacz Obsługiwane systemy operacyjne platformy .NET.

Nagłówek: CorDebug.idl, CorDebug.h

Biblioteka: CorGuids.lib

Wersje platformy .NET: Dostępne od programu .NET Framework 1.0