This topic has not yet been rated - Rate this topic

TypedDataSetGenerator.GenerateIdName Method

Transforms a string in a valid typed DataSet name.

[Visual Basic]
Public Shared Function GenerateIdName( _
   ByVal name As String, _
   ByVal codeGen As ICodeGenerator _
) As String
[C#]
public static string GenerateIdName(
 string name,
 ICodeGenerator codeGen
);
[C++]
public: static String* GenerateIdName(
 String* name,
 ICodeGenerator* codeGen
);
[JScript]
public static function GenerateIdName(
   name : String,
 codeGen : ICodeGenerator
) : String;

Parameters

name
The source name to transform into a valid typed DataSet name.
codeGen
The CodeGenerator used to perform the conversion.

Return Value

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TypedDataSetGenerator Class | TypedDataSetGenerator Members | System.Data Namespace

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.