MonobjcMonobjc Documented Class Library
ContentsEqualAtPathAndPath Method (path1, path2)
NamespacesMonobjc.FoundationNSFileManagerContentsEqualAtPathAndPath(NSString, NSString)

Returns a Boolean value that indicates whether the files or directories in specified paths have the same contents.

Original signature is '- (BOOL)contentsEqualAtPath:(NSString *)path1 andPath:(NSString *)path2'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ContentsEqualAtPathAndPath(
	NSString path1,
	NSString path2
)
Public Overridable Function ContentsEqualAtPathAndPath ( _
	path1 As NSString, _
	path2 As NSString _
) As Boolean
public:
virtual bool ContentsEqualAtPathAndPath(
	NSString^ path1, 
	NSString^ path2
)
Parameters
path1 (NSString)
The path of a file or directory to compare with the contents of path2.
path2 (NSString)
The path of a file or directory to compare with the contents of path1.
Return Value
YES if file or directory specified in path1 has the same contents as that specified in path2, otherwise NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)