共用方式為


NSDocumentController.DuplicateDocumentWithContentsOfUrl 方法

定義

[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

參數

url
NSUrl
duplicateByCopying
Boolean
displayName
String
error
NSError

傳回

屬性

適用於