MonobjcMonobjc Documented Class Library
WritePropertyForKey Method (propertyValue, propertyKey)
NamespacesMonobjc.FoundationNSURLHandleWritePropertyForKey(Id, NSString)

Sets the property of the receiver’s resource for a specified key to the specified value. (Deprecated in Mac OS X v10.4 and later. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.)

Original signature is '- (BOOL)writeProperty:(id)propertyValue forKey:(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 bool WritePropertyForKey(
	Id propertyValue,
	NSString propertyKey
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.")> _
Public Overridable Function WritePropertyForKey ( _
	propertyValue As Id, _
	propertyKey As NSString _
) As Boolean
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4. Use NSURLConnection or NSURLDownload instead; see URL Loading System Programming Guide.")]
public:
virtual bool WritePropertyForKey(
	Id^ propertyValue, 
	NSString^ propertyKey
)
Parameters
propertyValue (Id)
The new value for the property.
propertyKey (NSString)
The key of the desired property.
Return Value
YES if the modification was successful, NO otherwise.
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)