編輯

共用方式為


NSBundle.ImageForResource(String) Method

Definition

[Foundation.Export("imageForResource:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AppKit.NSImage ImageForResource (string name);
abstract member ImageForResource : string -> AppKit.NSImage
override this.ImageForResource : string -> AppKit.NSImage

Parameters

name
String

Returns

Attributes

Applies to