Method of ITextDocument
Find Scopes from range
var ppScopes = TextDocument.FindScopes(pRange, bIncludeParents);
==== Visual Basic Script ====
ppScopes = TextDocument.FindScopes pRange, bIncludeParents
==== C++ ====
CComPtr<IScopes> pScopes; HRESULT hr = TextDocument.FindScopes(pRange, bIncludeParents, &pScopes);
===== See Also ===== ITextDocument