NSImage.ImageNamed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ImageNamed(NSImageName) | |
| ImageNamed(String) |
ImageNamed(NSImageName)
public static AppKit.NSImage? ImageNamed(AppKit.NSImageName name);
static member ImageNamed : AppKit.NSImageName -> AppKit.NSImage
Parameters
- name
- NSImageName
Returns
Applies to
ImageNamed(String)
[Foundation.Export("imageNamed:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AppKit.NSImage? ImageNamed(string name);
[<Foundation.Export("imageNamed:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ImageNamed : string -> AppKit.NSImage
Parameters
- name
- String
Returns
- Attributes