DocumentList.FilterIndex Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the current filter index.

Namespace:  Microsoft.WindowsCE.Forms
Assembly:  Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)

public int FilterIndex { get; set; }

Property Value

Type: System.Int32
The current filter index. The default is zero.

ExceptionCondition
ArgumentException

The specified index value is not represented in the filter string.

This property determines which filtering option is used to display the list of files. Use the Filter property to specify the filtering options.

The following code example sets the FilterIndex property. This code example is part of a larger example provided for the DocumentList class.


DocList.FilterIndex = 0;


Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5, 2.0
Show: