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