Property of ITextDocument
Scopes collection
Read-Only Property of type IScopes
var pScopes = TextDocument.Scopes;
pScopes = TextDocument.Scopes
CComPtr<IScopes> pScopes; HRESULT hr = TextDocument.get_Scopes(&pScopes);
ITextDocument