METADATA_TYPE
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
This structure specifies information about a field type taken from metadata.
Syntax
typedef struct _tagTYPE_METADATA {
ULONG32 ulAppDomainID;
GUID guidModule;
_mdToken tokClass;
} METADATA_TYPE;
public struct METADATA_TYPE {
public uint ulAppDomainID;
public Guid guidModule;
public int tokClass;
};
Parameters
ulAppDomainID
ID of the application from which the symbol came. This is used to uniquely identify an instance of the application.
guidModule
The GUID of the module that contains this field.
tokClass
The metadata token ID of this type.
[C++] _mdToken
is a typedef
for a 32-bit int
.
Remarks
This structure appears as part of the union in the TYPE_INFO structure when the dwKind
field of the TYPE_INFO
structure is set to TYPE_KIND_METADATA
(a value from the dwTYPE_KIND enumeration).
The tokClass
value is a metadata token that uniquely identifies a type. For details on how to interpret the upper bits of the metadata token ID, see the CorTokenType
enumeration in the corhdr.h file in the .NET Framework SDK.
Requirements
Header: sh.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll