Opc.Ua.Node.GetSuperType C# (CSharp) Method

GetSuperType() public method

Returns the supertype for the Node if one exists.
Includes subtypes of HasSubtype if typeTree != null.
public GetSuperType ( ITypeTable typeTree ) : Opc.Ua.ExpandedNodeId
typeTree ITypeTable The type tree.
return Opc.Ua.ExpandedNodeId
        public ExpandedNodeId GetSuperType(ITypeTable typeTree)
        {
             if (m_referenceTable != null)
             {
                 return m_referenceTable.FindTarget(ReferenceTypeIds.HasSubtype, true, typeTree != null, typeTree, 0);
             }

             return null; 
        }
        #endregion