System::Xml::XmlElement::RemoveAttributeNode メソッド

XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute>) method

指定された XmlAttribute を削除します。

virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute> oldAttr)
パラメーター説明
oldAttrSharedPtr<XmlAttribute>削除する XmlAttribute ノード。削除された属性にデフォルト値がある場合、直ちに置き換えられます。

ReturnValue

削除された XmlAttribute、または oldAttrXmlElement の属性ノードでない場合は nullptr

参照

XmlElement::RemoveAttributeNode(String, String) method

ローカル名と名前空間 URI で指定された XmlAttribute を削除します。(削除された属性にデフォルト値がある場合、直ちに置き換えられます)。

virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(String localName, String namespaceURI)
パラメーター説明
localNameString属性のローカル名。
namespaceURIString属性の名前空間 URI。

ReturnValue

削除された XmlAttribute、または XmlElement に一致する属性ノードがない場合は nullptr

参照