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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.