指示是否可在指定位置创建新项目。
命名空间:  Microsoft.VisualStudio.VsWizard
程序集:  Microsoft.VisualStudio.VsWizard(在 Microsoft.VisualStudio.VsWizard.dll 中)
语法
声明
Function CanCreateNewProjectAtLocation ( _
    fCreateNewSolution As Boolean, _
    bstrFullProjectFilePath As String, _
    fDeleteDirectory As Boolean _
) As Boolean
bool CanCreateNewProjectAtLocation(
    bool fCreateNewSolution,
    string bstrFullProjectFilePath,
    bool fDeleteDirectory
)
bool CanCreateNewProjectAtLocation(
    [InAttribute] bool fCreateNewSolution, 
    [InAttribute] String^ bstrFullProjectFilePath, 
    [InAttribute] bool fDeleteDirectory
)
abstract CanCreateNewProjectAtLocation : 
        fCreateNewSolution:bool * 
        bstrFullProjectFilePath:string * 
        fDeleteDirectory:bool -> bool 
function CanCreateNewProjectAtLocation(
    fCreateNewSolution : boolean, 
    bstrFullProjectFilePath : String, 
    fDeleteDirectory : boolean
) : boolean
参数
- fCreateNewSolution
类型:System.Boolean
必需。如果随项目创建新解决方案,则为 true;否则为 false。 
- bstrFullProjectFilePath
类型:System.String
必需。一个字符串,其中包含项目的完全限定路径和文件名。 
- fDeleteDirectory
类型:System.Boolean
必需。如果要删除项目的临时目录,则为 true;否则为 false。 
返回值
类型:System.Boolean
如果可使用指定目录和名称创建项目,则为 true;否则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。