AdvisableKeyedCollection<TKey, TItem>.Item Property (TKey) |
Gets or sets the element with the specified key.
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
C#
public TItem this[ TKey key ] { get; set; }
Parameters
- key
- Type: TKey
The key of the element.
Return Value
Type: TItemThe element whose key is key.
When setting this property, the key of the new value should be identical to the value of the key parameter.