Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SimpleElement..::.AddAttribute Method
SimpleElement Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Provides a means to add a new attribute value.

Namespace: Tangosol.Run.Xml
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    public virtual IXmlValue AddAttribute(
    	string name
    )

#### Parameters

name
  Type: System..::.String
  The name of the attribute.

#### Return Value

[Missing <returns> documentation for "M:Tangosol.Run.Xml.SimpleElement.AddAttribute(System.String)"]

#### Implements

IXmlElement..::.AddAttribute(String)

# Remarks

If the attribute of the same name already exists, it is returned, otherwise a new value is created and added as an attribute.
This is a convenience method. Attributes are accessed and manipulated via the dictionary returned from Attributes.

# See Also

SimpleElement Class
Tangosol.Run.Xml Namespace