MonobjcMonobjc Documented Class Library
PropertyForKey Method (key)
NamespacesMonobjc.FoundationNSStreamPropertyForKey(NSString)

Returns the receiver’s property for a given key.

Original signature is '- (id)propertyForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id PropertyForKey(
	NSString key
)
Public Overridable Function PropertyForKey ( _
	key As NSString _
) As Id
public:
virtual Id^ PropertyForKey(
	NSString^ key
)
Parameters
key (NSString)
The key for one of the receiver's properties. See “Constants” for a description of the available property-key constants and associated values.
Return Value
The receiver’s property for the key key.
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)