System::Xml::XmlDocument::GetElementById method

XmlDocument::GetElementById method

Returns the XmlElement with the specified ID.

virtual SharedPtr<XmlElement> System::Xml::XmlDocument::GetElementById(String elementId)
ParameterTypeDescription
elementIdStringThe attribute ID to match.

ReturnValue

The XmlElement with the matching ID or nullptr if no matching element is found.

See Also