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 的相容性需求。

適用於