XmlDataDocument::GetElementById Method (String^)

 

Gets the XmlElement with the specified ID. This method is not supported by the XmlDataDocument class. Calling this method throws an exception.

Namespace:   System.Xml
Assembly:  System.Data (in System.Data.dll)

public:
virtual XmlElement^ GetElementById(
	String^ elemId
) override

Parameters

elemId
Type: System::String^

The attribute ID to match.

Return Value

Type: System.Xml::XmlElement^

An XmlElement with the specified ID.

Exception Condition
NotSupportedException

Calling this method.

This method is not supported by the XmlDataDocument class.

.NET Framework
Available since 1.1
Return to top
Show: