IVCWizCtlUI.DoesFileOrDirectoryExist Method

Determines whether the specified file or directory exists.

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

Syntax

声明
Function DoesFileOrDirectoryExist ( _
    bstrFileOrDirName As String _
) As Boolean
用法
Dim instance As IVCWizCtlUI
Dim bstrFileOrDirName As String
Dim returnValue As Boolean

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

Parameters

  • bstrFileOrDirName
    Type: System.String

    Required. A string containing the name of the file or directory.

Return Value

Type: System.Boolean

true if the file or directory exists; otherwise, false.

Permissions

See Also

Reference

IVCWizCtlUI Interface

IVCWizCtlUI Members

Microsoft.VisualStudio.VsWizard Namespace