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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.