Discuss this help topic in SecureBlackbox Forum

TElXMLDOMDocument.GetElementByID

TElXMLDOMDocument     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Finds the element with given id.

Declaration

[C#/Java]
    TElXMLDOMElement GetElementByID(string aElementID);

[VB.NET]
    Function GetElementByID(aElementID As XMLString) As TElXMLDOMElement

[Pascal]
    function GetElementByID(aElementID : WideString) : TElXMLDOMElement;

[C++]
    TElXMLDOMElementHandle GetElementByID(const sb_u16string &aElementID);
    TElXMLDOMElementHandle GetElementByID(const std::wstring &aElementID);

[PHP]
    TElXMLDOMElement GetElementByID(string $aElementID)

Parameters

  • aElementID - An ID of the element to find.

Description

    Use this method to find an element with the given id. The method returns an element if it is present, or null/nil/Nothing otherwise.

See also:     GetElementsByTagName     GetElementsByTagNameNS    

Discuss this help topic in SecureBlackbox Forum