Share via


NSWorkspace.SetDesktopImageUrl(NSUrl, NSScreen, NSDictionary, NSError) 方法

定义

[Foundation.Export("setDesktopImageURL:forScreen:options:error:")]
public virtual bool SetDesktopImageUrl (Foundation.NSUrl url, AppKit.NSScreen screen, Foundation.NSDictionary options, Foundation.NSError error);
abstract member SetDesktopImageUrl : Foundation.NSUrl * AppKit.NSScreen * Foundation.NSDictionary * Foundation.NSError -> bool
override this.SetDesktopImageUrl : Foundation.NSUrl * AppKit.NSScreen * Foundation.NSDictionary * Foundation.NSError -> bool

参数

url
NSUrl
screen
NSScreen
options
NSDictionary
error
NSError

返回

属性

适用于