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

Test string for valid attribute name

[Visual Basic]
Public Shared Function IsValidAttributeName( _
   ByVal name As String _
) As Boolean
[C#]
public static bool IsValidAttributeName(
   string name
);
[C++]
public: static bool IsValidAttributeName(
   String* name
);
[JScript]
public static function IsValidAttributeName(
   name : String
) : Boolean;

Parameters

name
string to test

Return Value

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

Remarks

Useful test before setting attribute name property.

See Also

SecurityElement Class | SecurityElement Members | System.Security Namespace