共用方式為


IVectorView<T> interface

Represents an immutable view into a IVector(T).

Template parameters

  • T
    The type of the values in the vector.

Members

The IVectorView<T> interface inherits from IInspectable. IVectorView also has these types of members:

  • Methods

Methods

The IVectorView<T> interface has these methods.

Method Description
get_Size

Gets the number of elements in the vector view.

GetAt

Returns the item at the specified index in the vector view.

IndexOf

Determines the index of a specified item in the vector view.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.Collections.h