MonobjcMonobjc Documented Class Library
IsReadOnlyKey Method (key)
NamespacesMonobjc.FoundationNSScriptClassDescriptionIsReadOnlyKey(NSString)

Returns a Boolean value indicating whether a specified property in the receiver is read-only. (Deprecated in Mac OS X v10.5. Use hasWritablePropertyForKey: instead.)

Original signature is '- (BOOL)isReadOnlyKey:(NSString *)key'

Available in in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.5. Use hasWritablePropertyForKey: instead.")]
public virtual bool IsReadOnlyKey(
	NSString key
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.5. Use hasWritablePropertyForKey: instead.")> _
Public Overridable Function IsReadOnlyKey ( _
	key As NSString _
) As Boolean
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.5. Use hasWritablePropertyForKey: instead.")]
public:
virtual bool IsReadOnlyKey(
	NSString^ key
)
Parameters
key (NSString)
The identifying key for a property of the receiver.
Return Value
YES if the property specified by key exists in the receiver or in the NSScriptClassDescription for any superclass, and is read only; otherwise, NO.
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)