NSDocument Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
NSDocument(NSUrl, String, NSError)
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