Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SynchronizedHashtable.Item Property

Gets or sets the element with the specified key.

[Visual Basic]
Public NotOverridable Property Item( _
   ByVal key As Object _
) _
    Implements IDictionary.Item
 As Object _
    Implements IDictionary.Item

   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public object this[
   object key
] { public get; public set; }

Parameters

key
The key of the element to get or set.

Implements

IDictionary.Item

Exceptions

Exception Type Condition
NotSupportedException The property is set and the IDictionary object is read-only.-or- The property is set, key does not exist in the collection, and the IDictionary has a fixed size.
ArgumentNullException key is null.

See Also

SynchronizedHashtable Class | Spring.Collections Namespace