SymReader.GetMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för