Creates and returns an array containing the contents of the file specified by a given path.
Original signature is '+ (id)arrayWithContentsOfFile:(NSString *)aPath'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static NSMutableArray ArrayWithContentsOfFile( NSString aPath )
Public Shared Function ArrayWithContentsOfFile ( _ aPath As NSString _ ) As NSMutableArray
public: static NSMutableArray^ ArrayWithContentsOfFile( NSString^ aPath )

- aPath (NSString)
- The path to a file containing a string representation of an array produced by the writeToFile:atomically: method.

An array containing the contents of the file specified by aPath. Returns nil if the file can’t be opened or if the contents of the file can’t be parsed into an array.

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