AdvisableCollection<T>.Add Method |
Adds an item to the ICollection<T>.
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
C#
public void Add( T item )
Parameters
- item
- Type: T
The object to add to the ICollection<T>.
Implements
ICollection<T>.Add(T)Exception | Condition |
---|---|
NotSupportedException | The ICollection<T> is read-only. |