Freigeben über


VCWizCtlClass.DoesFileExist(String) Method

Definition

Determines whether the specified file name exists.

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

Parameters

bstrFileName
String

Required. A string containing the name of the file.

Returns

true if the file exists; otherwise, false.

Implements

Attributes

Applies to