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
)
public XmlElement GetElementById (
	String elemId
)
public override function GetElementById (
	elemId : String
) : XmlElement

Parameters

elemId

The attribute ID to match.

Return Value

An XmlElement with the specified ID.

Exception typeCondition

NotSupportedException

Calling this method.

This method is not supported by the XmlDataDocument class.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show: