NSDocument.WriteToUrl 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性