Skip to main content
.NET Framework Class Library
UIElementCollectionIListInsert Method

This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. For a description of this member, see Insert.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax
Private Sub Insert ( _
	index As [%$TOPIC/bb344808_en-us_VS_110_2_0_0_0_0%], _
	value As [%$TOPIC/bb344808_en-us_VS_110_2_0_0_0_1%] _
) Implements [%$TOPIC/bb344808_en-us_VS_110_2_0_0_0_2%].[%$TOPIC/bb344808_en-us_VS_110_2_0_0_0_3%]
void [%$TOPIC/bb344808_en-us_VS_110_2_0_1_0_0%].[%$TOPIC/bb344808_en-us_VS_110_2_0_1_0_1%](
	[%$TOPIC/bb344808_en-us_VS_110_2_0_1_0_2%] index,
	[%$TOPIC/bb344808_en-us_VS_110_2_0_1_0_3%] value
)
private:
virtual void Insert(
	[%$TOPIC/bb344808_en-us_VS_110_2_0_2_0_0%] index, 
	[%$TOPIC/bb344808_en-us_VS_110_2_0_2_0_1%]^ value
) sealed = [%$TOPIC/bb344808_en-us_VS_110_2_0_2_0_2%]::[%$TOPIC/bb344808_en-us_VS_110_2_0_2_0_3%]
private abstract Insert : 
        index:[%$TOPIC/bb344808_en-us_VS_110_2_0_3_0_0%] * 
        value:[%$TOPIC/bb344808_en-us_VS_110_2_0_3_0_1%] -> unit  
private override Insert : 
        index:[%$TOPIC/bb344808_en-us_VS_110_2_0_3_0_2%] * 
        value:[%$TOPIC/bb344808_en-us_VS_110_2_0_3_0_3%] -> unit
JScript does not support explicit interface implementations.

Parameters

index
Type: SystemInt32

The zero-based index at which value should be inserted.

value
Type: SystemObject

The object to insert to the list.

Implements

IListInsert(Int32, Object)
Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1