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 Basic | Visual 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 )
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)