CodeGenerator::ValidateIdentifier Method (String^)
.NET Framework (current version)
Throws an exception if the specified string is not a valid identifier.
Assembly: System (in System.dll)
Parameters
- value
-
Type:
System::String^
The identifier to test for validity as an identifier.
| Exception | Condition |
|---|---|
| ArgumentException | If the specified identifier is invalid or conflicts with reserved or language keywords. |
.NET Framework
Available since 1.1
Available since 1.1
Show: