MonobjcMonobjc Documented Class Library
PropertyForKeyIfAvailable Method (propertyKey)
NamespacesMonobjc.FoundationNSURLHandlePropertyForKeyIfAvailable(NSString)

Returns the property for the specified key only if the value is already available; that is, the client doesn’t need to do any work. (Deprecated in Mac OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.)

Original signature is '- (id)propertyForKeyIfAvailable:(NSString *)propertyKey'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.")]
public virtual Id PropertyForKeyIfAvailable(
	NSString propertyKey
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.")> _
Public Overridable Function PropertyForKeyIfAvailable ( _
	propertyKey As NSString _
) As Id
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.")]
public:
virtual Id^ PropertyForKeyIfAvailable(
	NSString^ propertyKey
)
Parameters
propertyKey (NSString)
The key of the desired property.
Return Value
The value associated with propertyKey. Returns nil if there is no such key or if the client would have to do work to fetch the property.
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)