This documentation is archived and is not being maintained.

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.

[Visual Basic]
Overrides Public Function GetElementById( _
   ByVal elemId As String _
) As XmlElement
[C#]
public override XmlElement GetElementById(
 string elemId
);
[C++]
public: XmlElement* GetElementById(
 String* elemId
);
[JScript]
public override function GetElementById(
   elemId : String
) : XmlElement;

Parameters

elemId
The attribute ID to match.

Exceptions

Exception Type Condition
NotSupportedException Calling this method.

Remarks

This method is not supported by the XmlDataDocument class.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

XmlDataDocument Class | XmlDataDocument Members | System.Xml Namespace

Show: