Język

IItemContainerGenerator.Remove(GeneratorPosition, Int32) Metoda

Definicja

Usuwa co najmniej jeden wygenerowany (zrealizowany) element.

public:
 void Remove(System::Windows::Controls::Primitives::GeneratorPosition position, int count);
public void Remove(System.Windows.Controls.Primitives.GeneratorPosition position, int count);
abstract member Remove : System.Windows.Controls.Primitives.GeneratorPosition * int -> unit
Public Sub Remove (position As GeneratorPosition, count As Integer)

Parametry

position
GeneratorPosition

Indeks Int32 elementu do usunięcia. position musi odwoływać się do wcześniej wygenerowanego (zrealizowanego) elementu, co oznacza, że jego przesunięcie musi mieć wartość zero.

count
Int32

Liczba Int32 elementów do usunięcia, począwszy od position.

Dotyczy