Determines whether a string is valid as text within an XML element.
Syntax
Parameters
- text
-
The text to test for validity.
Returns
true if the text parameter is a valid XML text element; otherwise, false.
Remarks
Requirements
Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0