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

返回

属性

适用于