DoubleCollection.InsertAt method

Applies to Windows and Windows Phone

Inserts the specified item at the specified index.

Syntax


public:
void InsertAt(
  unsigned int index, 
  double value
)

Parameters

index

Type: UInt32

The index at which to set the value.

value

Type: Double

The value to set.

Remarks

InsertAt expands the collection and moves all subsequent index items by one.

In contrast, SetAt replaces the item at the index, and the collection count remains the same.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows::UI::Xaml::Media

Metadata

Windows.winmd

See also

DoubleCollection

 

 

Show:
© 2014 Microsoft