System.Security.SecurityElement.Attributes Property

Gets or sets the attributes of an XML element as name/value pairs.

Syntax

public Hashtable Attributes { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Each attribute is stored in the Hashtable as a name/value pair.

Names and values in attributes should contain only valid XML attribute characters. Use SecurityElement.Escape(string) to remove invalid characters from the string.

There is no support for quoted strings, so strings for name/value pairs should not contain quotes or other characters requiring quoting.

Requirements

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