Method of ITextDocument
Find Scope from point
var ppScope = TextDocument.FindScope(pPos, nScopeKind);
ppScope = TextDocument.FindScope pPos, nScopeKind
CComPtr<IScope> pScope; HRESULT hr = TextDocument.FindScope(pPos, nScopeKind, &pScope);
ITextDocument