共用方式為


METADATA_TYPE

This structure specifies information about a field type taken from metadata.

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

See Also

Reference

Structures and Unions

TYPE_INFO

dwTYPE_KIND