MonobjcMonobjc Documented Class Library
Item Property (key)
NamespacesMonobjc.FoundationNSDictionaryItem[([( Id])])
Gets or sets the element with the specified key.
Declaration Syntax
C#Visual BasicVisual C++
public virtual Id this[
	Id key
] { get; set; }
Public Overridable Default Property Item ( _
	key As Id _
) As Id
	Get
	Set
public:
virtual property Id^ default[Id^ key] {
	Id^ get (Id^ key);
	void set (Id^ key, Id^ value);
}
Parameters
key (Id)
Value
Return Value
The element with the specified key.
Exceptions
ExceptionCondition
NotSupportedExceptionThe property is set and the IDictionary<(Of <(<'TKey, TValue>)>)> is read-only.
ArgumentNullExceptionkey is null.
KeyNotFoundExceptionThe property is retrieved and key is not found.
NotSupportedExceptionThis instance is immutable
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)