共用方式為


NSDocumentController.MakeDocument 方法

定義

多載

MakeDocument(NSUrl, String, NSError)
MakeDocument(NSUrl, NSUrl, String, NSError)

MakeDocument(NSUrl, String, NSError)

[Foundation.Export("makeDocumentWithContentsOfURL:ofType:error:")]
public virtual Foundation.NSObject MakeDocument (Foundation.NSUrl url, string typeName, out Foundation.NSError outError);
abstract member MakeDocument : Foundation.NSUrl * string *  -> Foundation.NSObject
override this.MakeDocument : Foundation.NSUrl * string *  -> Foundation.NSObject

參數

url
NSUrl
typeName
String
outError
NSError

傳回

屬性

適用於

MakeDocument(NSUrl, NSUrl, String, NSError)

[Foundation.Export("makeDocumentForURL:withContentsOfURL:ofType:error:")]
public virtual Foundation.NSObject MakeDocument (Foundation.NSUrl urlOrNil, Foundation.NSUrl contentsUrl, string typeName, out Foundation.NSError outError);
abstract member MakeDocument : Foundation.NSUrl * Foundation.NSUrl * string *  -> Foundation.NSObject
override this.MakeDocument : Foundation.NSUrl * Foundation.NSUrl * string *  -> Foundation.NSObject

參數

urlOrNil
NSUrl
contentsUrl
NSUrl
typeName
String
outError
NSError

傳回

屬性

適用於