CodeGenerator.IsValidIdentifier Method (String)

 

Gets a value indicating whether the specified value is a valid identifier.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

protected abstract bool IsValidIdentifier(
	string value
)

Parameters

value
Type: System.String

The value to test for conflicts with valid identifiers.

Return Value

Type: System.Boolean

true if the value is a valid identifier; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: