NSDocumentController.MakeDocument 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性