XmlDataDocument.GetElementById Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 override XmlElement GetElementById(
	string elemId
)

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: