Editar

Compartilhar via


NSWorkspace.SetIconforFile Method

Definition

[Foundation.Export("setIcon:forFile:options:")]
[ObjCRuntime.ThreadSafe]
public virtual bool SetIconforFile (AppKit.NSImage image, string fullPath, AppKit.NSWorkspaceIconCreationOptions options);
abstract member SetIconforFile : AppKit.NSImage * string * AppKit.NSWorkspaceIconCreationOptions -> bool
override this.SetIconforFile : AppKit.NSImage * string * AppKit.NSWorkspaceIconCreationOptions -> bool

Parameters

image
NSImage
fullPath
String

Returns

Attributes

Applies to