다음을 통해 공유


NSDocument 생성자

정의

오버로드

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 ();
특성

적용 대상

NSDocument(NSObjectFlag)

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

매개 변수

적용 대상

NSDocument(IntPtr)

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

매개 변수

handle
IntPtr

nativeint

적용 대상

NSDocument(String, NSError)

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

매개 변수

typeName
String
outError
NSError
특성

적용 대상

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

매개 변수

url
NSUrl
typeName
String
outError
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

매개 변수

documentUrl
NSUrl
documentContentsUrl
NSUrl
typeName
String
outError
NSError
특성

적용 대상