Download Now

    Reference INodeList

    Declared in Codebot.Text.Xml.pas on line 133

    INodeList is a list of attributes or child nodes
      INodeList = interface(IEnumerable<INode>)
      public
        { Remove all nodes from the list }
        procedure Clear;
        { Add a node to the list }
        procedure Add(Node: INode); overload;
        { Add a new node by name returning the node }
        function Add(const Name: string): INode; overload;
        { Remove a node from the list }
        procedure Remove(Node: INode); overload;
        { Remove a node by name from the list }
        procedure Remove(const Name: string); overload;
        { The number of nodes in the list }
        property Count: Integer read GetCount;
        { Nodes indexed by name }
        property ByName[const Name: string]: INode read GetByName;
        { Nodes indexed by an integer }
        property ByIndex[Index: Integer]: INode read GetByIndex; default;
      end;

    See also