IVCWizCtlUI.DoesFileExist Method

Determines whether the specified file name exists.

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

Syntax

声明
Function DoesFileExist ( _
    bstrFileName As String _
) As Boolean
用法
Dim instance As IVCWizCtlUI
Dim bstrFileName As String
Dim returnValue As Boolean

returnValue = instance.DoesFileExist(bstrFileName)
bool DoesFileExist(
    string bstrFileName
)
bool DoesFileExist(
    [InAttribute] String^ bstrFileName
)
function DoesFileExist(
    bstrFileName : String
) : boolean

Parameters

  • bstrFileName
    Type: System.String

    Required. A string containing the name of the file.

Return Value

Type: System.Boolean

true if the file exists; otherwise, false.

Permissions

See Also

Reference

IVCWizCtlUI Interface

IVCWizCtlUI Members

Microsoft.VisualStudio.VsWizard Namespace