CodeGenerator.ICodeGenerator.CreateValidIdentifier Method (String)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a valid identifier for the specified value.

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

string ICodeGenerator.CreateValidIdentifier(
	string value
)

Parameters

value
Type: System.String

The string to generate a valid identifier for.

Return Value

Type: System.String

A valid identifier for the specified value.

.NET Framework
Available since 1.1
Return to top
Show: