System.Security.SecurityElement.Tag Property

Gets or sets the tag name of an XML element.

Syntax

public string Tag { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

In XML, the tag appears in the script as appears below:

Example

<tag attributes>text</tag>

If this element has child elements, the children will replace text.

Assign only valid XML tag strings to this property. Use SecurityElement.Escape(string) to remove invalid characters from the string.

Requirements

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