Returns a data object initialized with the data from the location specified by a given URL.
Original signature is '- (id)initWithContentsOfURL:(NSURL *)aURL options:(NSDataReadingOptions)mask error:(NSError **)errorPtr'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public NSPurgeableData( NSURL aURL, NSDataReadingOptions mask, out NSError errorPtr )
Public Sub New ( _ aURL As NSURL, _ mask As NSDataReadingOptions, _ <OutAttribute> ByRef errorPtr As NSError _ )
public: NSPurgeableData( NSURL^ aURL, NSDataReadingOptions mask, [OutAttribute] NSError^% errorPtr )

- aURL (NSURL)
- The URL from which to read data.
- mask (NSDataReadingOptions)
- A mask that specifies options for reading the data. Constant components are described in “NSDataReadingOptions”.
- errorPtr (NSError%)
- If there is an error reading in the data, upon return contains an NSError object that describes the problem.

A data object initialized with the data from the location specified by aURL. The returned object might be different than the original receiver.

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