Прочетете на английски Редактиране

Споделяне чрез


IJSVsaItems.Remove Method

Definition

Removes an item from the collection.

Overloads

Remove(Int32)

Removes an item from the collection, as specified by its index value.

Remove(String)

Removes an item from the collection, as specified by its name.

Remove(Int32)

Removes an item from the collection, as specified by its index value.

C#
public void Remove(int index);

Parameters

index
Int32

The index value of the item to be removed.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Remove(String)

Removes an item from the collection, as specified by its name.

C#
public void Remove(string name);

Parameters

name
String

The name of the item to be removed from the collection.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1