XmlDataDocument.GetElementById(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.