TypedDataSetGenerator.GenerateIdName Method (String, ICodeGenerator)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Transforms a string in a valid, typed DataSet name.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public static string GenerateIdName(
	string name,
	ICodeGenerator codeGen


Type: System.String

The source name to transform into a valid, typed DataSet name.

Type: System.CodeDom.Compiler.ICodeGenerator

The generator used to perform the conversion.

Return Value

Type: System.String

A string that is the converted name.

The TypedDataSetGenerator class is not intended for use as a stand-alone component, but as a class from which other classes derive standard functionality.

.NET Framework
Available since 1.1
Return to top