共用方式為


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

方法的編輯後繼續版本。

傳回

指定之方法識別項和版本的符號讀取器方法物件。

實作

適用於