IVCWizCtlUI.DoesFileOrDirectoryExist(String) Method

Definition

Determines whether the specified file or directory exists.

public:
 bool DoesFileOrDirectoryExist(System::String ^ bstrFileOrDirName);
public:
 bool DoesFileOrDirectoryExist(Platform::String ^ bstrFileOrDirName);
bool DoesFileOrDirectoryExist(std::wstring const & bstrFileOrDirName);
[System.Runtime.InteropServices.DispId(1610743894)]
public bool DoesFileOrDirectoryExist (string bstrFileOrDirName);
[<System.Runtime.InteropServices.DispId(1610743894)>]
abstract member DoesFileOrDirectoryExist : string -> bool
Public Function DoesFileOrDirectoryExist (bstrFileOrDirName As String) As Boolean

Parameters

bstrFileOrDirName
String

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

Returns

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

Attributes

Applies to