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.IsValidTag

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;

Parameters

tag
tag string to test

Return Value

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

Remarks

Useful test before setting Tag property.

See Also

SecurityElement Class | SecurityElement Members | System.Security Namespace