MonobjcMonobjc Documented Class Library
InitWithContentsOfURL Method (aURL)
NamespacesMonobjc.AppKitNSImageInitWithContentsOfURL(NSURL)

Initializes and returns an NSImage instance with the contents of the specified URL.

Original signature is '- (id)initWithContentsOfURL:(NSURL *)aURL'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithContentsOfURL(
	NSURL aURL
)
Public Overridable Function InitWithContentsOfURL ( _
	aURL As NSURL _
) As Id
public:
virtual Id^ InitWithContentsOfURL(
	NSURL^ aURL
)
Parameters
aURL (NSURL)
MISSING
Return Value
An initialized NSImage instance, or nil if the method cannot create an image representation from the contents of the specified URL.
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)