Поделиться через


IVCWizCtlUI.CanCreateNewProjectAtLocation - метод

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

Пространство имен:  Microsoft.VisualStudio.VsWizard
Сборка:  Microsoft.VisualStudio.VsWizard (в Microsoft.VisualStudio.VsWizard.dll)

Синтаксис

'Декларация
Function CanCreateNewProjectAtLocation ( _
    fCreateNewSolution As Boolean, _
    bstrFullProjectFilePath As String, _
    fDeleteDirectory As Boolean _
) As Boolean
'Применение
Dim instance As IVCWizCtlUI
Dim fCreateNewSolution As Boolean
Dim bstrFullProjectFilePath As String
Dim fDeleteDirectory As Boolean
Dim returnValue As Boolean

returnValue = instance.CanCreateNewProjectAtLocation(fCreateNewSolution, _
    bstrFullProjectFilePath, fDeleteDirectory)
bool CanCreateNewProjectAtLocation(
    bool fCreateNewSolution,
    string bstrFullProjectFilePath,
    bool fDeleteDirectory
)
bool CanCreateNewProjectAtLocation(
    [InAttribute] bool fCreateNewSolution, 
    [InAttribute] String^ bstrFullProjectFilePath, 
    [InAttribute] bool fDeleteDirectory
)
function CanCreateNewProjectAtLocation(
    fCreateNewSolution : boolean, 
    bstrFullProjectFilePath : String, 
    fDeleteDirectory : boolean
) : boolean

Параметры

  • fCreateNewSolution
    Тип: System.Boolean

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

  • bstrFullProjectFilePath
    Тип: System.String

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

  • fDeleteDirectory
    Тип: System.Boolean

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

Возвращаемое значение

Тип: System.Boolean

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

Разрешения

  • Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.

См. также

Ссылки

IVCWizCtlUI Интерфейс

IVCWizCtlUI - члены

Microsoft.VisualStudio.VsWizard - пространство имен