System::Xml::XmlElement::SetAttributeNode विधि
अंतर्वस्तु
[
छिपाना
]XmlElement::SetAttributeNode(SharedPtr<XmlAttribute>) method
निर्दिष्ट XmlAttribute को जोड़ता है।
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::SetAttributeNode(SharedPtr<XmlAttribute> newAttr)
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| newAttr | SharedPtr<XmlAttribute> | इस तत्व के लिए एट्रिब्यूट संग्रह में जोड़ने हेतु XmlAttribute नोड। |
ReturnValue
यदि एट्रिब्यूट समान नाम वाले मौजूदा एट्रिब्यूट को बदलता है, तो पुराना XmlAttribute लौटाया जाता है; अन्यथा, nullptr लौटाया जाता है।
संबंधित देखें
- Typedef SharedPtr
- Class XmlAttribute
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++
XmlElement::SetAttributeNode(String, String) method
निर्दिष्ट XmlAttribute को जोड़ता है।
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::SetAttributeNode(String localName, String namespaceURI)
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| localName | String | एट्रिब्यूट का स्थानीय नाम। |
| namespaceURI | String | एट्रिब्यूट का नेमस्पेस URI। |
ReturnValue
जोड़ने के लिए XmlAttribute।
संबंधित देखें
- Typedef SharedPtr
- Class XmlAttribute
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++