共用方式為


NSDocument.WriteToUrl 方法

定義

多載

WriteToUrl(NSUrl, String, NSError)
WriteToUrl(NSUrl, String, NSSaveOperationType, NSUrl, NSError)

WriteToUrl(NSUrl, String, NSError)

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

參數

url
NSUrl
typeName
String
outError
NSError

傳回

屬性

適用於

WriteToUrl(NSUrl, String, NSSaveOperationType, NSUrl, NSError)

[Foundation.Export("writeToURL:ofType:forSaveOperation:originalContentsURL:error:")]
public virtual bool WriteToUrl (Foundation.NSUrl url, string typeName, AppKit.NSSaveOperationType saveOperation, Foundation.NSUrl absoluteOriginalContentsUrl, out Foundation.NSError outError);
abstract member WriteToUrl : Foundation.NSUrl * string * AppKit.NSSaveOperationType * Foundation.NSUrl *  -> bool
override this.WriteToUrl : Foundation.NSUrl * string * AppKit.NSSaveOperationType * Foundation.NSUrl *  -> bool

參數

url
NSUrl
typeName
String
saveOperation
NSSaveOperationType
absoluteOriginalContentsUrl
NSUrl
outError
NSError

傳回

屬性

適用於