Export (0) Print
Expand All

XmlDataDocument.GetElementById Method

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.

ExceptionCondition
NotSupportedException

Calling this method.

This method is not supported by the XmlDataDocument class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft