NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISymbolMethod.GetScope

Given an offset within the method, returns the most enclosing lexical scope.

[Visual Basic]
Function GetScope( _
   ByVal offset As Integer _
) As ISymbolScope
[C#]
ISymbolScope GetScope(
   int offset
);
[C++]
ISymbolScope* GetScope(
   int offset
) = 0;
[JScript]
function GetScope(
   offset : int
) : ISymbolScope;

Parameters

offset
The byte offset within the method of the lexical scope.

Return Value

The most enclosing lexical scope for the given byte offset within the method.

Remarks

This can be used to start local variable searches.

See Also

ISymbolMethod Interface | ISymbolMethod Members | System.Diagnostics.SymbolStore Namespace