Discuss this help topic in SecureBlackbox Forum

TElXMLDOMDocument.GetElementByID

TElXMLDOMDocument     See also     


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


Finds the element with given id.

Declaration

[C#]
    TElXMLDOMElement GetElementByID(string aElementID);

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

[Pascal]
    function GetElementByID(const aElementID : XMLString) : TElXMLDOMElement;

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

[PHP]
    TElXMLDOMElement GetElementByID(string $aElementID)

[Java]
    TElXMLDOMElement getElementByID(String aElementID);

Parameters

  • aElementID - An ID of the element to find.

Return value

    Returns a reference to the desired element.

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