Insert Method

Int32Collection.Insert Method (Int32, Int32)

 

Inserts an Int32 into a specific location within the collection.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public void Insert(
	int index,
	int value
)

Parameters

index
Type: System.Int32

The index position at which the Int32 is inserted.

value
Type: System.Int32

The Int32 to insert in the collection.

Exception Condition
ArgumentOutOfRangeException

index is not a valid index in the Int32Collection.

NotSupportedException

The Int32Collection is read-only.

- or -

The Int32Collection has a fixed size.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft