System.Security.SecurityElement.Text Property

Gets or sets the text within an XML element.

Syntax

public string Text { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The text should not contain XML special characters. Use SecurityElement.Escape(string) to remove invalid characters from the string.

If a System.Security.SecurityElement contains both SecurityElement.Text and SecurityElement.Children, SecurityElement.Text will appear first.

Requirements

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