Edit

Share via


ICollectionContract<C>.Add(C) Method

Definition

public:
 void Add(C item);
public void Add (C item);
abstract member Add : 'C -> unit
Public Sub Add (item As C)

Parameters

item
C

The IContract to add to the ICollectionContract<C>.

Exceptions

Remarks

To determine whether an ICollectionContract<C> is read-only, call the GetIsReadOnly method.

Applies to