MonobjcMonobjc Documented Class Library
ResourceDataUsingCache Method (shouldUseCache)
NamespacesMonobjc.FoundationNSURLResourceDataUsingCache(Boolean)

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.

Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
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.
Return Value
The receiver's resource data.
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)