System.Xml.XmlElement.SetAttribute Method

Sets the value of the attribute with the specified local name and namespace URI.

Syntax

public virtual string SetAttribute (string localName, string namespaceURI, string value)

Parameters

localName
The local name of the attribute.
namespaceURI
The namespace URI of the attribute.
value
The value to set for the attribute.

Returns

The attribute value.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0