Redigera

Dela via


ListItemCollection.IList.Add(Object) Method

Definition

For a description of this member, see Add(Object).

 virtual int System.Collections.IList.Add(System::Object ^ item) = System::Collections::IList::Add;
int IList.Add (object item);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (item As Object) As Integer Implements IList.Add

Parameters

item
Object

The Object to add to the IList.

Returns

The index at which the item has been added.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ListItemCollection instance is cast to an IList interface.

Applies to

See also