Creates and returns a dictionary using the keys and values found in a file specified by a given path.
Original signature is '+ (id)dictionaryWithContentsOfFile:(NSString *)path'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static NSDictionary DictionaryWithContentsOfFile( NSString path )
Public Shared Function DictionaryWithContentsOfFile ( _ path As NSString _ ) As NSDictionary
public: static NSDictionary^ DictionaryWithContentsOfFile( NSString^ path )

- path (NSString)
- A full or relative pathname. The file identified by path must contain a string representation of a property list whose root object is a dictionary.

A new dictionary that contains the dictionary at path, or nil if there is a file error or if the contents of the file are an invalid representation of a dictionary.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)