The members of Foundation.NSFileVersion are listed below.
See Also: Inherited members from Foundation.NSObject
Constructor to call on derived classes to skip initialization and merely allocate the object. | ||
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
[read-only] override | ClassHandle | IntPtr. The handle for this class. |
[read-only] | IsConflict | bool. Whether this NSFileVersion is in conflict with another NSFileVersion. Read-only. |
[read-only] | LocalizedName | string. The user-meaningful name of this file version. Read-only. |
[read-only] | LocalizedNameOfSavingComputer | string. The user-meaningful name of the computer on which this revision was saved. Read-only. |
[read-only] | ModificationDate | NSDate. The modification date of this version. Read-only. |
[read-only] | PersistentIdentifier | NSObject. The identifier for this version. Read-only. |
Resolved | bool. True if this version is not in conflict with another version. App devs should not assign the value false to this property. | |
[read-only] | Url | NSUrl. The URL identifying the file associated with this version. Read-only. |
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. |