Edit

Share via


NSFileVersion.ReplaceItem Method

Definition

Replaces the file at the specified URL with the contents of the current version's file. The file is created, if necessary.

[Foundation.Export("replaceItemAtURL:options:error:")]
public virtual Foundation.NSUrl ReplaceItem (Foundation.NSUrl url, Foundation.NSFileVersionReplacingOptions options, out Foundation.NSError error);
abstract member ReplaceItem : Foundation.NSUrl * Foundation.NSFileVersionReplacingOptions *  -> Foundation.NSUrl
override this.ReplaceItem : Foundation.NSUrl * Foundation.NSFileVersionReplacingOptions *  -> Foundation.NSUrl

Parameters

url
NSUrl
error
NSError

Returns

Attributes

Applies to