IXmlElementSetAttribute Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Set an attribute value.
Namespace:
Tangosol.Run.Xml
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxvoid SetAttribute(
string name,
IXmlValue value
)
Parameters
- name
- Type: SystemString
The name of the attribute.
- value
- Type: Tangosol.Run.XmlIXmlValue
The new value for the attribute; null indicates that the
attribute should be removed.
Remarks
If the attribute does not already exist, and the new value is
non-null, then the attribute is added and its value is set to the
passed value. If the attribute does exist, and the new value is
non-null, then the attribute's value is updated to the passed
value. If the attribute does exist, but the new value is
null, then the attribute and its corresponding value are
removed.
This is a convenience method. Attributes are accessed and
manipulated via the dictionary returned from
Attributes.
See Also