次の方法で共有


METADATA_ADDRESS_METHOD

This structure represents the address of a method of a class.

typedef struct _tagMETADATA_ADDRESS_METHOD {
   _mdToken tokMethod;
   DWORD    dwOffset;
   DWORD    dwVersion;
} METADATA_ADDRESS_METHOD;
public struct METADATA_ADDRESS_METHOD {
   public int  tokMethod;
   public uint dwOffset;
   public uint dwVersion;
}

Terms

  • tokMethod
    The ID of the method.

    [C++] _mdToken is a typedef for a 32-bit int.

  • dwOffset
    The offset from the class start to this method (can represent the offset into the vtable).

  • dwVersion
    The version of the method (this value is unique to the symbol provider).

Remarks

This structure is part of the union in the DEBUG_ADDRESS_UNION structure when the dwKind field of the DEBUG_ADDRESS_UNION structure is set to ADDRESS_KIND_METHOD (a value from the ADDRESS_KIND enumeration).

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Structures and Unions

DEBUG_ADDRESS_UNION

ADDRESS_KIND