SymReader.GetMethod 方法

定义

获取符号读取器方法对象。

重载

GetMethod(SymbolToken)

在给定方法的标识符的情况下,获取符号读取器方法对象。

GetMethod(SymbolToken, Int32)

在给定方法的标识符及其编辑和连续版本的情况下,获取符号读取器方法对象。

GetMethod(SymbolToken)

在给定方法的标识符的情况下,获取符号读取器方法对象。

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

参数

method
SymbolToken

方法的元数据标记。

返回

指定方法标识符的符号读取器方法对象。

实现

适用于

GetMethod(SymbolToken, Int32)

在给定方法的标识符及其编辑和连续版本的情况下,获取符号读取器方法对象。

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

参数

method
SymbolToken

方法的元数据标记。

version
Int32

方法的编辑和连续版本。

返回

指定方法标识符和版本的符号读取器方法对象。

实现

适用于