scripting:api:scopes:parent

Parent

Method of IScopes

Find Scope parent

var ppParent = Scopes.Parent(pScope);

==== Visual Basic Script ====

ppParent = Scopes.Parent pScope

==== C++ ====

CComPtr<IScope> pParent;
HRESULT hr = Scopes.Parent(pScope, &pParent);

===== See Also ===== IScopes