Udostępnij za pośrednictwem


VCWizCtlClass.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
Public Overridable Function GenerateNextDefaultProjectName ( _
    bstrBaseName As String, _
    bstrLocation As String _
) As String
public virtual string GenerateNextDefaultProjectName(
    string bstrBaseName,
    string bstrLocation
)
public:
virtual String^ GenerateNextDefaultProjectName(
    [InAttribute] String^ bstrBaseName, 
    [InAttribute] String^ bstrLocation
)
abstract GenerateNextDefaultProjectName : 
        bstrBaseName:string * 
        bstrLocation:string -> string 
override GenerateNextDefaultProjectName : 
        bstrBaseName:string * 
        bstrLocation:string -> string 
public 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.

Implements

IVCWizCtlUI.GenerateNextDefaultProjectName(String, String)

.NET Framework Security

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model