Поделиться через


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

Возвращаемое значение

Атрибуты

Применяется к