NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SecurityElement.IsValidText

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;

Parameters

text
string to test

Return Value

True if and only if the tag string is a valid XML tag.

Remarks

Useful test before setting Text property.

See Also

SecurityElement Class | SecurityElement Members | System.Security Namespace