Compartilhar via


MSBuildFileSystemBase.FileOrDirectoryExists(String) Method

Definition

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

Returns

Applies to