Condividi tramite


IVCWizCtlUI.DoesFileExist(String) Method

Definition

Determines whether the specified file name exists.

public:
 bool DoesFileExist(System::String ^ bstrFileName);
public:
 bool DoesFileExist(Platform::String ^ bstrFileName);
bool DoesFileExist(std::wstring const & bstrFileName);
[System.Runtime.InteropServices.DispId(1610743850)]
public bool DoesFileExist (string bstrFileName);
[<System.Runtime.InteropServices.DispId(1610743850)>]
abstract member DoesFileExist : string -> bool
Public 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.

Attributes

Applies to