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!

ISymbolWriter.CloseScope

Closes the current lexical scope.

[Visual Basic]
Sub CloseScope( _
   ByVal endOffset As Integer _
)
[C#]
void CloseScope(
   int endOffset
);
[C++]
void CloseScope(
   int endOffset
) = 0;
[JScript]
function CloseScope(
   endOffset : int
);

Parameters

endOffset
The points past the last instruction in the scope.

Remarks

Once a scope is closed, no more variables can be defined within it.

See Also

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