Determines whether a string is a valid attribute name.
Syntax
public static
bool IsValidAttributeName (
string name)
Parameters
- name
-
The attribute name to test for validity.
Returns
true if the name parameter is a valid XML attribute name; otherwise, false.
Remarks
Requirements
Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0