Επεξεργασία

Κοινή χρήση μέσω


TypedDataSetGenerator.GenerateIdName(String, ICodeGenerator) Method

Definition

Transforms a string in a valid, typed DataSet name.

public:
 static System::String ^ GenerateIdName(System::String ^ name, System::CodeDom::Compiler::ICodeGenerator ^ codeGen);
public static string GenerateIdName (string name, System.CodeDom.Compiler.ICodeGenerator codeGen);
static member GenerateIdName : string * System.CodeDom.Compiler.ICodeGenerator -> string
Public Shared Function GenerateIdName (name As String, codeGen As ICodeGenerator) As String

Parameters

name
String

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

codeGen
ICodeGenerator

The generator used to perform the conversion.

Returns

A string that is the converted name.

Remarks

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

Applies to