ISymbolMethod.GetScope(Int32) 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.
Returns the most enclosing lexical scope when given an offset within a method.
public:
System::Diagnostics::SymbolStore::ISymbolScope ^ GetScope(int offset);
public System.Diagnostics.SymbolStore.ISymbolScope GetScope (int offset);
abstract member GetScope : int -> System.Diagnostics.SymbolStore.ISymbolScope
Public Function GetScope (offset As Integer) As ISymbolScope
Parameters
- offset
- Int32
The byte offset within the method of the lexical scope.
Returns
The most enclosing lexical scope for the given byte offset within the method.
Remarks
You can use the GetScope method to start local variable searches.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.