Export (0) Print
Expand All

FileDialog.FilterIndex Property

Gets or sets the index of the filter currently selected in a file dialog.

Namespace: Microsoft.Win32
Assembly: PresentationFramework (in presentationframework.dll)

public int FilterIndex { get; set; }
/** @property */
public int get_FilterIndex ()

/** @property */
public void set_FilterIndex (int value)

public function get FilterIndex () : int

public function set FilterIndex (value : int)

<object FilterIndex="int" .../>

Property Value

The Int32 that is the index of the selected filter. The default is 1.

This index is 1-based, not 0-based, due to compatibility requirements with the underlying Win32API.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft