FindScope
Method of ITextDocument
Description
Find Scope from point
Parameters
- IPosition pPos
- eScopeKind nScopeKind = 0 (optional)
Return Value
- IScope ppScope
Syntax
JavaScript
var ppScope = TextDocument.FindScope(pPos, nScopeKind);
Visual Basic Script
ppScope = TextDocument.FindScope pPos, nScopeKind
C++
CComPtr<IScope> pScope; HRESULT hr = TextDocument.FindScope(pPos, nScopeKind, &pScope);