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