Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft