NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlElement.RemoveAttribute (String)

Removes an attribute by name.

[Visual Basic]
Overloads Overridable Public Sub RemoveAttribute( _
   ByVal name As String _
)
[C#]
public virtual void RemoveAttribute(
   string name
);
[C++]
public: virtual void RemoveAttribute(
   String* name
);
[JScript]
public function RemoveAttribute(
   name : String
);

Parameters

name
The name of the attribute to remove.

Exceptions

Exception Type Condition
NO_MODIFICATION_ALLOWED_ERR The node is read-only.

See Also

XmlElement Class | XmlElement Members | System.NewXml Namespace | XmlElement.RemoveAttribute Overload List