Upravit

Sdílet prostřednictvím


CompositeCollection.Add(Object) Method

Definition

Adds the specified item to this collection.

public:
 virtual int Add(System::Object ^ newItem);
public int Add (object newItem);
abstract member Add : obj -> int
override this.Add : obj -> int
Public Function Add (newItem As Object) As Integer

Parameters

newItem
Object

New item to add to the collection.

Returns

Zero-based index where the new item is added.

Implements

Applies to