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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.