Returns the receiver’s resource data, loading it if necessary. Use NSURLConnection instead of this method. (Deprecated in Mac OS X v10.4.)
Original signature is '- (NSData *)resourceDataUsingCache:(BOOL)shouldUseCache'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Deprecated in Mac OS X v10.4.")] public virtual NSData ResourceDataUsingCache( bool shouldUseCache )
<ObsoleteAttribute("Deprecated in Mac OS X v10.4.")> _ Public Overridable Function ResourceDataUsingCache ( _ shouldUseCache As Boolean _ ) As NSData
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4.")] public: virtual NSData^ ResourceDataUsingCache( bool shouldUseCache )

- shouldUseCache (Boolean)
- Whether the URL should use cached resource data from an already loaded URL that refers to the same resource. If YES, the cache is consulted when loading data. If NO, the data is always loaded directly, without consulting the cache.

The receiver's resource data.

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