FindScope

Method of IDocumentStructure

Find Scope from point

Return Value

JavaScript

var ppScope = DocumentStructure.FindScope(pPos, nScopeKind);

Visual Basic Script

ppScope = DocumentStructure.FindScope pPos, nScopeKind

C++

CComPtr<IScope> pScope;
HRESULT hr = DocumentStructure.FindScope(pPos, nScopeKind, &pScope);