System.Xml.XmlDataDocument.GetElementById Method

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

Syntax

public override XmlElement GetElementById (string elemId)

Parameters

elemId
The attribute ID to match.

Returns

An System.Xml.XmlElement with the specified ID.

Remarks

This method is not supported by the System.Xml.XmlDataDocument class.

Requirements

Namespace: System.Xml
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0