MonobjcMonobjc Documented Class Library
DictionaryWithContentsOfURL Method (aURL)
NamespacesMonobjc.FoundationNSDictionaryDictionaryWithContentsOfURL(NSURL)

Creates and returns a dictionary using the keys and values found in a resource specified by a given URL.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSDictionary DictionaryWithContentsOfURL(
	NSURL aURL
)
Public Shared Function DictionaryWithContentsOfURL ( _
	aURL As NSURL _
) As NSDictionary
public:
static NSDictionary^ DictionaryWithContentsOfURL(
	NSURL^ aURL
)
Parameters
aURL (NSURL)
An URL that identifies a resource containing a string representation of a property list whose root object is a dictionary.
Return Value
A new dictionary that contains the dictionary at aURL, or nil if there is an error or if the contents of the resource are an invalid representation of a dictionary.
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)