다음을 통해 공유


METADATA_ADDRESS_METHOD

Note

This article applies to Visual Studio 2015. 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 represents the address of a method of a class.

Syntax

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

Structures and Unions
DEBUG_ADDRESS_UNION
ADDRESS_KIND