ערוך

שתף באמצעות


SymReader.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:
 override System::Diagnostics::SymbolStore::ISymbolMethod ^ GetMethod(System::Diagnostics::SymbolStore::SymbolToken method);
public:
 virtual System::Diagnostics::SymbolStore::ISymbolMethod ^ GetMethod(System::Diagnostics::SymbolStore::SymbolToken method);
public override System.Diagnostics.SymbolStore.ISymbolMethod GetMethod (System.Diagnostics.SymbolStore.SymbolToken method);
public virtual System.Diagnostics.SymbolStore.ISymbolMethod GetMethod (System.Diagnostics.SymbolStore.SymbolToken method);
abstract member GetMethod : System.Diagnostics.SymbolStore.SymbolToken -> System.Diagnostics.SymbolStore.ISymbolMethod
override this.GetMethod : System.Diagnostics.SymbolStore.SymbolToken -> System.Diagnostics.SymbolStore.ISymbolMethod
Public Overrides Function GetMethod (method As SymbolToken) As ISymbolMethod
Public Overridable 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.

Implements

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:
 override System::Diagnostics::SymbolStore::ISymbolMethod ^ GetMethod(System::Diagnostics::SymbolStore::SymbolToken method, int version);
public:
 virtual System::Diagnostics::SymbolStore::ISymbolMethod ^ GetMethod(System::Diagnostics::SymbolStore::SymbolToken method, int version);
public override System.Diagnostics.SymbolStore.ISymbolMethod GetMethod (System.Diagnostics.SymbolStore.SymbolToken method, int version);
public virtual System.Diagnostics.SymbolStore.ISymbolMethod GetMethod (System.Diagnostics.SymbolStore.SymbolToken method, int version);
abstract member GetMethod : System.Diagnostics.SymbolStore.SymbolToken * int -> System.Diagnostics.SymbolStore.ISymbolMethod
override this.GetMethod : System.Diagnostics.SymbolStore.SymbolToken * int -> System.Diagnostics.SymbolStore.ISymbolMethod
Public Overrides Function GetMethod (method As SymbolToken, version As Integer) As ISymbolMethod
Public Overridable 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 and version.

Implements

Applies to