Edytuj

Udostępnij za pośrednictwem


NSDocumentController.DuplicateDocumentWithContentsOfUrl Method

Definition

[Foundation.Export("duplicateDocumentWithContentsOfURL:copying:displayName:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AppKit.NSDocument DuplicateDocumentWithContentsOfUrl (Foundation.NSUrl url, bool duplicateByCopying, string displayName, out Foundation.NSError error);
abstract member DuplicateDocumentWithContentsOfUrl : Foundation.NSUrl * bool * string *  -> AppKit.NSDocument
override this.DuplicateDocumentWithContentsOfUrl : Foundation.NSUrl * bool * string *  -> AppKit.NSDocument

Parameters

url
NSUrl
duplicateByCopying
Boolean
displayName
String
error
NSError

Returns

Attributes

Applies to