Udostępnij za pośrednictwem


ICollection.AddAt(Object, Object) Method

Definition

Adds an item to a collection at a position.

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

Parameters

pIDispatch
Object

Th object to add.

position
Object

The position in the collection.

Attributes

Applies to