語言

FileDialog.FilterIndex 屬性

定義

取得或設定目前在檔案對話框中選取的過濾器索引。

public:
 property int FilterIndex { int get(); void set(int value); };
public int FilterIndex { get; set; }
member this.FilterIndex : int with get, set
Public Property FilterIndex As Integer

屬性值

那 Int32 是所選濾波器的索引。 預設值是 1。

備註

此索引基於 1,而非 0,因為與底層 Win32 API 的相容性要求。

適用於