MonobjcMonobjc Documented Class Library
IconForFile Method (fullPath)
NamespacesMonobjc.AppKitNSWorkspaceIconForFile(NSString)

Returns an image containing the icon for the specified file.

Original signature is '- (NSImage *)iconForFile:(NSString *)fullPath'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSImage IconForFile(
	NSString fullPath
)
Public Overridable Function IconForFile ( _
	fullPath As NSString _
) As NSImage
public:
virtual NSImage^ IconForFile(
	NSString^ fullPath
)
Parameters
fullPath (NSString)
The full path to the file.
Return Value
The icon associated with the file.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)