MSBuildFileSystemBase.FileOrDirectoryExists(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.
Use this for File.Exists(path) || Directory.Exists(path)
public:
abstract bool FileOrDirectoryExists(System::String ^ path);
public:
virtual bool FileOrDirectoryExists(System::String ^ path);
public abstract bool FileOrDirectoryExists (string path);
public virtual bool FileOrDirectoryExists (string path);
abstract member FileOrDirectoryExists : string -> bool
abstract member FileOrDirectoryExists : string -> bool
override this.FileOrDirectoryExists : string -> bool
Public MustOverride Function FileOrDirectoryExists (path As String) As Boolean
Public Overridable Function FileOrDirectoryExists (path As String) As Boolean
Parameters
- path
- String