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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.