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

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


DesignerAutoFormatCollection.RemoveAt(Int32) Method

Definition

Removes the DesignerAutoFormat object at the specified index within the collection.

C#
public void RemoveAt(int index);

Parameters

index
Int32

The zero-based index of the DesignerAutoFormat to remove from the collection.

Exceptions

index is less than zero.

-or-

index is greater than the Count property.

Remarks

Use the RemoveAt method to remove a format at a particular index from the collection. To remove a specified format from the collection, use the Remove method. To remove all formats from the collection, use the Clear method.

Бележка

When you remove an item from a collection, the index values change for subsequent items in the collection.

Applies to

Продукт Версии
.NET Framework 2.0, 3.0, 3.5, 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

See also