Modifica

Condividi tramite


CodeGenerator.ValidateIdentifier(String) Method

Definition

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