Udostępnij za pośrednictwem


VCWizCtlClass.CanCreateNewProjectAtLocation Method

Indicates whether the new project can be created at the specified location.

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

Syntax

'Declaration
Public Overridable Function CanCreateNewProjectAtLocation ( _
    fCreateNewSolution As Boolean, _
    bstrFullProjectFilePath As String, _
    fDeleteDirectory As Boolean _
) As Boolean
public virtual bool CanCreateNewProjectAtLocation(
    bool fCreateNewSolution,
    string bstrFullProjectFilePath,
    bool fDeleteDirectory
)
public:
virtual bool CanCreateNewProjectAtLocation(
    [InAttribute] bool fCreateNewSolution, 
    [InAttribute] String^ bstrFullProjectFilePath, 
    [InAttribute] bool fDeleteDirectory
)
abstract CanCreateNewProjectAtLocation : 
        fCreateNewSolution:bool * 
        bstrFullProjectFilePath:string * 
        fDeleteDirectory:bool -> bool 
override CanCreateNewProjectAtLocation : 
        fCreateNewSolution:bool * 
        bstrFullProjectFilePath:string * 
        fDeleteDirectory:bool -> bool 
public function CanCreateNewProjectAtLocation(
    fCreateNewSolution : boolean, 
    bstrFullProjectFilePath : String, 
    fDeleteDirectory : boolean
) : boolean

Parameters

  • fCreateNewSolution
    Type: System.Boolean
    Required. true if a new solution is created with the project; otherwise false.
  • bstrFullProjectFilePath
    Type: System.String
    Required. A string containing the fully qualified path and file name for the project.
  • fDeleteDirectory
    Type: System.Boolean
    Required. true if the project's temporary directory is to be deleted; otherwise false.

Return Value

Type: System.Boolean
true if the project can be created at the specified directory and name; otherwise, false.

Implements

IVCWizCtlUI.CanCreateNewProjectAtLocation(Boolean, String, Boolean)

.NET Framework Security

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model