MonobjcMonobjc Documented Class Library
PropertyForKeyInRequest Method (key, request)
NamespacesMonobjc.FoundationNSURLProtocolPropertyForKeyInRequest(NSString, NSURLRequest)

Returns the property associated with the specified key in the specified request.

Original signature is '+ (id)propertyForKey:(NSString *)key inRequest:(NSURLRequest *)request'

Available in Mac OS X v10.2 with Safari 1.0 installed and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id PropertyForKeyInRequest(
	NSString key,
	NSURLRequest request
)
Public Shared Function PropertyForKeyInRequest ( _
	key As NSString, _
	request As NSURLRequest _
) As Id
public:
static Id^ PropertyForKeyInRequest(
	NSString^ key, 
	NSURLRequest^ request
)
Parameters
key (NSString)
The key of the desired property.
request (NSURLRequest)
The request whose properties are to be queried.
Return Value
The property associated with key, or nil if no property has been stored for key.
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)