Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft