Compartilhar via


NSDocument Construtores

Definição

Sobrecargas

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 ();
Atributos

Aplica-se a

NSDocument(NSObjectFlag)

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

Parâmetros

Aplica-se a

NSDocument(IntPtr)

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

Parâmetros

handle
IntPtr

nativeint

Aplica-se a

NSDocument(String, NSError)

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

Parâmetros

typeName
String
outError
NSError
Atributos

Aplica-se a

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

Parâmetros

url
NSUrl
typeName
String
outError
NSError
Atributos

Aplica-se a

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

Parâmetros

documentUrl
NSUrl
documentContentsUrl
NSUrl
typeName
String
outError
NSError
Atributos

Aplica-se a