MonobjcMonobjc Documented Class Library
SetPropertyForKey Method (propertyValue, propertyKey)
NamespacesMonobjc.FoundationNSURLSetPropertyForKey(Id, NSString)

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 BasicVisual 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
)
Parameters
propertyValue (Id)
The new value of the property of the receiver's resource.
propertyKey (NSString)
The key of the desired property.
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)