Test string for valid as text within an XML element.
[Visual Basic] Public Shared Function IsValidText( _ ByVal text As String _ ) As Boolean [C#] public static bool IsValidText( string text ); [C++] public: static bool IsValidText( String* text ); [JScript] public static function IsValidText( text : String ) : Boolean;
True if and only if the tag string is a valid XML tag.
Useful test before setting Text property.
SecurityElement Class | SecurityElement Members | System.Security Namespace