共用方式為


VCWizCtlClass.CanCreateNewProjectAtLocation(Boolean, String, Boolean) Method

Definition

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

public:
 virtual bool CanCreateNewProjectAtLocation(bool fCreateNewSolution, System::String ^ bstrFullProjectFilePath, bool fDeleteDirectory) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::CanCreateNewProjectAtLocation;
public:
 virtual bool CanCreateNewProjectAtLocation(bool fCreateNewSolution, Platform::String ^ bstrFullProjectFilePath, bool fDeleteDirectory) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::CanCreateNewProjectAtLocation;
 virtual bool CanCreateNewProjectAtLocation(bool fCreateNewSolution, std::wstring const & bstrFullProjectFilePath, bool fDeleteDirectory);
[System.Runtime.InteropServices.DispId(1610743854)]
public virtual bool CanCreateNewProjectAtLocation (bool fCreateNewSolution, string bstrFullProjectFilePath, bool fDeleteDirectory);
[<System.Runtime.InteropServices.DispId(1610743854)>]
abstract member CanCreateNewProjectAtLocation : bool * string * bool -> bool
override this.CanCreateNewProjectAtLocation : bool * string * bool -> bool
Public Overridable Function CanCreateNewProjectAtLocation (fCreateNewSolution As Boolean, bstrFullProjectFilePath As String, fDeleteDirectory As Boolean) As Boolean

Parameters

fCreateNewSolution
Boolean

Required. true if a new solution is created with the project; otherwise false.

bstrFullProjectFilePath
String

Required. A string containing the fully qualified path and file name for the project.

fDeleteDirectory
Boolean

Required. true if the project's temporary directory is to be deleted; otherwise false.

Returns

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

Implements

Attributes

Applies to