Redigera

Dela via


XmlDataDocument.GetElementById(String) Method

Definition

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

public:
 override System::Xml::XmlElement ^ GetElementById(System::String ^ elemId);
public override System.Xml.XmlElement? GetElementById (string elemId);
public override System.Xml.XmlElement GetElementById (string elemId);
override this.GetElementById : string -> System.Xml.XmlElement
Public Overrides Function GetElementById (elemId As String) As XmlElement

Parameters

elemId
String

The attribute ID to match.

Returns

An XmlElement with the specified ID.

Exceptions

Calling this method.

Remarks

This method is not supported by the XmlDataDocument class.

Applies to