The methods of Foundation.NSFileVersion are listed below. For a list of all members, see the NSFileVersion Members list.
See Also: Inherited members from Foundation.NSObject
static | GetCurrentVersion(NSUrl)The most recent version object for the file at URL. Returns null if the file does not exist. | |
static | GetOtherVersions(NSUrl)All versions except the current version of the file at the specified URL. Returns null if the file does not exist. | |
static | GetSpecificVersion(NSUrl, NSObject)The NSFileVersion of the file at URL with the specified persistentIdentifier. Returns null if the file or persistentIdentifier does not exist. | |
static | GetUnresolvedConflictVersions(NSUrl)An array of NSFileVersion objects that are currently in conflict. Returns null if the file does not exist. | |
Remove(out NSError)Removes this version and its associated file from the version store. Returns true if the removal was successful. | ||
static | RemoveOtherVersions(NSUrl, out NSError)Removes all versions except this one from the version store. Returns true if the removal was successful. | |
ReplaceItem(NSUrl, NSFileVersionReplacingOptions, out NSError)Replaces the file at the specified URL with the contents of the current version's file. The file is created, if necessary. | ||