Windows Dev Center

IVector<T>.SetAt method

Sets the value at the specified index in the vector.

Syntax


void SetAt(
  unsigned int index, 
  T^ value
)

Parameters

index

Type: UInt32

The zero-based index at which to set the value.

value

Type: T

The item to set.

Remarks

When programming with .NET, this interface is hidden and developers should use the System.Collections.Generic.IList<T> interface.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows::Foundation::Collections

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows::Foundation::Collections

Metadata

Windows.winmd

See also

IVector<T>

 

 

Show:
© 2015 Microsoft