Export (0) Print
Expand All
F
Expand Minimize

Visual Basic: CommonDialog Control

Visual Studio 6.0

FilterIndex Property

See Also   Example   Applies To

Returns or sets a default filter for an Open or Save As dialog box.

Syntax

object.FilterIndex [= number]

The FilterIndex property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
number A numeric expression specifying a default filter.

Remarks

This property specifies the default filter when you use the Filter property to specify filters for an Open or Save As dialog box.

The index for the first defined filter is 1.

Data Type

Integer

Show:
© 2015 Microsoft