語言

UrlPropertyAttribute.Filter 屬性

定義

會有一個與 URL 特定屬性相關的檔案過濾器。

public:
 property System::String ^ Filter { System::String ^ get(); };
public string Filter { get; }
member this.Filter : string
Public ReadOnly Property Filter As String

屬性值

一個與 URL 特定屬性相關的檔案過濾器。 預設是「*.*」。

備註

設計器會在檔案選擇器 UrlPropertyAttribute 中根據屬性提供過濾器。 預設為「*.*」初始化,指定所有副檔名的檔案。 你可以設定更特定的檔案類型篩選;例如,篩選器「*.aspx」表示只有 ASP.NET 檔案會被 URL 特定屬性表示。

適用於