Set DocumentationICollectionInt 32Add Method
Adds an item to the ICollectionT.
Definition
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
C#
void ICollection<int>.Add(
int item
)VB
Private Sub Add (
item As Integer
) Implements ICollection(Of Integer).AddC++
private:
virtual void Add(
int item
) sealed = ICollection<int>::AddF#
private abstract Add :
item : int -> unit
private override Add :
item : int -> unit Parameters
- item Int32
- The object to add to the ICollectionT.
Implements
ICollectionTAdd(T)Exceptions
| NotSupportedException | The ICollectionT is read-only. |