Changes the specified property of the receiver’s resource. (Deprecated in Mac OS X v10.4.)
Original signature is '- (BOOL)setProperty:(id)propertyValue forKey:(NSString *)propertyKey'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Deprecated in Mac OS X v10.4.")] public virtual bool SetPropertyForKey( Id propertyValue, NSString propertyKey )
<ObsoleteAttribute("Deprecated in Mac OS X v10.4.")> _ Public Overridable Function SetPropertyForKey ( _ propertyValue As Id, _ propertyKey As NSString _ ) As Boolean
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4.")] public: virtual bool SetPropertyForKey( Id^ propertyValue, NSString^ propertyKey )
Return Value
Returns 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)