COR_TYPEID Structure
Contains a type identifier.
Syntax
typedef struct COR_TYPEID{
UINT64 token1;
UINT64 token2;
} COR_TYPEID;
Members
Member | Description |
---|---|
token1 |
The first token. |
token2 |
The second token. |
Remarks
The COR_TYPEID
structure is returned by a number of debugging methods that provide information about objects to be garbage-collected. It can then be passed as an argument to other debugging methods that provide additional information about that item. For example, by enumerating an ICorDebugHeapEnum object, you can retrieve individual COR_HEAPOBJECT objects that represent individual objects on the managed heap. You can then pass the COR_TYPEID
value from the COR_HEAPOBJECT.type
field to the ICorDebugProcess5::GetTypeForTypeID method to retrieve an ICorDebugType object that provides type information about the object.
A COR_TYPEID
object is intended to be opaque. Its individual fields should not be accessed or manipulated. Its sole use is as an identifier that is provided as an out
parameter in a method call and that can, in turn, be passed to other methods to provide additional information.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.5
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for