get_OwnerElement()

XmlAttribute::get_OwnerElement() method

Returns the XmlElement to which the attribute belongs.

virtual SharedPtr<XmlElement> System::Xml::XmlAttribute::get_OwnerElement()

Return Value

The XmlElement that the attribute belongs to or nullptr if this attribute is not part of an XmlElement.

See Also