แก้ไข

แชร์ผ่าน


ISymbolReader.GetMethod Method

Definition

Gets a symbol reader method object.

Overloads

GetMethod(SymbolToken)

Gets a symbol reader method object when given the identifier of a method.

GetMethod(SymbolToken, Int32)

Gets a symbol reader method object when given the identifier of a method and its edit and continue version.

GetMethod(SymbolToken)

Gets a symbol reader method object when given the identifier of a method.

public:
 System::Diagnostics::SymbolStore::ISymbolMethod ^ GetMethod(System::Diagnostics::SymbolStore::SymbolToken method);
public System.Diagnostics.SymbolStore.ISymbolMethod? GetMethod (System.Diagnostics.SymbolStore.SymbolToken method);
public System.Diagnostics.SymbolStore.ISymbolMethod GetMethod (System.Diagnostics.SymbolStore.SymbolToken method);
abstract member GetMethod : System.Diagnostics.SymbolStore.SymbolToken -> System.Diagnostics.SymbolStore.ISymbolMethod
Public Function GetMethod (method As SymbolToken) As ISymbolMethod

Parameters

method
SymbolToken

The metadata token of the method.

Returns

The symbol reader method object for the specified method identifier.

Applies to

GetMethod(SymbolToken, Int32)

Gets a symbol reader method object when given the identifier of a method and its edit and continue version.

public:
 System::Diagnostics::SymbolStore::ISymbolMethod ^ GetMethod(System::Diagnostics::SymbolStore::SymbolToken method, int version);
public System.Diagnostics.SymbolStore.ISymbolMethod? GetMethod (System.Diagnostics.SymbolStore.SymbolToken method, int version);
public System.Diagnostics.SymbolStore.ISymbolMethod GetMethod (System.Diagnostics.SymbolStore.SymbolToken method, int version);
abstract member GetMethod : System.Diagnostics.SymbolStore.SymbolToken * int -> System.Diagnostics.SymbolStore.ISymbolMethod
Public Function GetMethod (method As SymbolToken, version As Integer) As ISymbolMethod

Parameters

method
SymbolToken

The metadata token of the method.

version
Int32

The edit and continue version of the method.

Returns

The symbol reader method object for the specified method identifier.

Applies to