Partager via


ICollection.AddItem(Object) Method

Definition

Adds an item to a collection.

public:
 void AddItem(System::Object ^ pIDispatch);
public:
 void AddItem(Platform::Object ^ pIDispatch);
void AddItem(winrt::Windows::Foundation::IInspectable const & pIDispatch);
[System.Runtime.InteropServices.DispId(1610743810)]
public void AddItem (object pIDispatch);
[<System.Runtime.InteropServices.DispId(1610743810)>]
abstract member AddItem : obj -> unit
Public Sub AddItem (pIDispatch As Object)

Parameters

pIDispatch
Object

The item to add to the collection.

Attributes

Applies to