IVCWizCtlUI.DoesFileOrDirectoryExist(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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