Edit

Share via


NSFileManager.FileExists Method

Definition

Overloads

FileExists(String)

Whether the specified file exists.

FileExists(String, Boolean)

FileExists(String)

Whether the specified file exists.

[Foundation.Export("fileExistsAtPath:")]
public virtual bool FileExists (string path);
abstract member FileExists : string -> bool
override this.FileExists : string -> bool

Parameters

path
String

Returns

Attributes

Applies to

FileExists(String, Boolean)

[Foundation.Export("fileExistsAtPath:isDirectory:")]
public virtual bool FileExists (string path, ref bool isDirectory);
abstract member FileExists : string *  -> bool
override this.FileExists : string *  -> bool

Parameters

path
String
isDirectory
Boolean

Returns

Attributes

Applies to