Windows Dev Center

FileExtensionVector.IndexOf method

Determines the index of a specific item in the collection.

Syntax


public int IndexOf(
  string item
)

Parameters

item

Type: System.String

The object to locate in the collection.

Return value

Type: System.Int32

The index of item if found in the collection; otherwise, –1.

Requirements (Windows 10 device family)

Device family

API contract

Namespace

Windows.Storage.Picker

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.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Picker

See also

FileExtensionVector

 

 

Show:
© 2015 Microsoft