Partager via


IVCWizCtlUI.GenerateNextDefaultProjectName Method

Generates a project name based on the specified base name.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
Function GenerateNextDefaultProjectName ( _
    bstrBaseName As String, _
    bstrLocation As String _
) As String
string GenerateNextDefaultProjectName(
    string bstrBaseName,
    string bstrLocation
)
String^ GenerateNextDefaultProjectName(
    [InAttribute] String^ bstrBaseName, 
    [InAttribute] String^ bstrLocation
)
abstract GenerateNextDefaultProjectName : 
        bstrBaseName:string * 
        bstrLocation:string -> string
function GenerateNextDefaultProjectName(
    bstrBaseName : String, 
    bstrLocation : String
) : String

Parameters

  • bstrBaseName
    Type: System.String

    Required. A string containing the base name.

  • bstrLocation
    Type: System.String

    Required. A string containing the location of the project.

Return Value

Type: System.String
A string containing the new project name and location.

.NET Framework Security

See Also

Reference

IVCWizCtlUI Interface

Microsoft.VisualStudio.VsWizard Namespace