MonobjcMonobjc Documented Class Library
ArrayWithContentsOfURL Method (aURL)
NamespacesMonobjc.FoundationNSArrayArrayWithContentsOfURL(NSURL)

Creates and returns an array containing the contents specified by a given URL.

Original signature is '+ (id)arrayWithContentsOfURL:(NSURL *)aURL'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSArray ArrayWithContentsOfURL(
	NSURL aURL
)
Public Shared Function ArrayWithContentsOfURL ( _
	aURL As NSURL _
) As NSArray
public:
static NSArray^ ArrayWithContentsOfURL(
	NSURL^ aURL
)
Parameters
aURL (NSURL)
The location of a file containing a string representation of an array produced by the writeToURL:atomically: method.
Return Value
An array containing the contents specified by aURL. Returns nil if the location can’t be opened or if the contents of the location can’t be parsed into an array.
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.Foundation (Module: Monobjc.Foundation)