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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.