scripting:api:syntax:is-inherited-from

IsInheritedFrom

Method of ISyntax

Check, if syntax is inherited from another syntax

var pbResult = Syntax.IsInheritedFrom(szSyntax);
pbResult = Syntax.IsInheritedFrom szSyntax
VARIANT_BOOL bResult;
HRESULT hr = Syntax.IsInheritedFrom(szSyntax, &bResult);