編集

次の方法で共有


NSDocument Constructors

Definition

Overloads

NSDocument()
NSDocument(NSObjectFlag)
NSDocument(IntPtr)
NSDocument(String, NSError)
NSDocument(NSUrl, String, NSError)
NSDocument(NSUrl, NSUrl, String, NSError)

NSDocument()

[Foundation.Export("init")]
[ObjCRuntime.DesignatedInitializer]
public NSDocument ();
Attributes

Applies to

NSDocument(NSObjectFlag)

protected NSDocument (Foundation.NSObjectFlag t);
new AppKit.NSDocument : Foundation.NSObjectFlag -> AppKit.NSDocument

Parameters

Applies to

NSDocument(IntPtr)

protected internal NSDocument (IntPtr handle);
new AppKit.NSDocument : nativeint -> AppKit.NSDocument

Parameters

handle
IntPtr

nativeint

Applies to

NSDocument(String, NSError)

[Foundation.Export("initWithType:error:")]
public NSDocument (string typeName, out Foundation.NSError outError);
new AppKit.NSDocument : string *  -> AppKit.NSDocument

Parameters

typeName
String
outError
NSError
Attributes

Applies to

NSDocument(NSUrl, String, NSError)

[Foundation.Export("initWithContentsOfURL:ofType:error:")]
public NSDocument (Foundation.NSUrl url, string typeName, out Foundation.NSError outError);
new AppKit.NSDocument : Foundation.NSUrl * string *  -> AppKit.NSDocument

Parameters

url
NSUrl
typeName
String
outError
NSError
Attributes

Applies to

NSDocument(NSUrl, NSUrl, String, NSError)

[Foundation.Export("initForURL:withContentsOfURL:ofType:error:")]
public NSDocument (Foundation.NSUrl documentUrl, Foundation.NSUrl documentContentsUrl, string typeName, out Foundation.NSError outError);
new AppKit.NSDocument : Foundation.NSUrl * Foundation.NSUrl * string *  -> AppKit.NSDocument

Parameters

documentUrl
NSUrl
documentContentsUrl
NSUrl
typeName
String
outError
NSError
Attributes

Applies to