Edit

Share via


NSFileManager.ContentsEqual(String, String) Method

Definition

Whether the files at the two specified paths have the same contents.

[Foundation.Export("contentsEqualAtPath:andPath:")]
public virtual bool ContentsEqual (string path1, string path2);
abstract member ContentsEqual : string * string -> bool
override this.ContentsEqual : string * string -> bool

Parameters

path1
String
path2
String

Returns

Attributes

Applies to