Share via


VCWizCtlClass.DoesFileOrDirectoryExist(String) Method

Definition

Determines whether the specified file or directory exists.

public:
 virtual bool DoesFileOrDirectoryExist(System::String ^ bstrFileOrDirName) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::DoesFileOrDirectoryExist;
public:
 virtual bool DoesFileOrDirectoryExist(Platform::String ^ bstrFileOrDirName) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::DoesFileOrDirectoryExist;
 virtual bool DoesFileOrDirectoryExist(std::wstring const & bstrFileOrDirName);
[System.Runtime.InteropServices.DispId(1610743894)]
public virtual bool DoesFileOrDirectoryExist (string bstrFileOrDirName);
[<System.Runtime.InteropServices.DispId(1610743894)>]
abstract member DoesFileOrDirectoryExist : string -> bool
override this.DoesFileOrDirectoryExist : string -> bool
Public Overridable Function DoesFileOrDirectoryExist (bstrFileOrDirName As String) As Boolean

Parameters

bstrFileOrDirName
String

Required. A string containing the name of the file.

Returns

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

Implements

Attributes

Applies to