CodeGenerator.ValidateIdentifier(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throws an exception if the specified string is not a valid identifier.
protected:
virtual void ValidateIdentifier(System::String ^ value);
protected virtual void ValidateIdentifier (string value);
abstract member ValidateIdentifier : string -> unit
override this.ValidateIdentifier : string -> unit
Protected Overridable Sub ValidateIdentifier (value As String)
Parameters
- value
- String
The identifier to test for validity as an identifier.
Exceptions
The specified identifier is invalid or conflicts with reserved or language keywords.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.