UrlPropertyAttribute.Filter 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會有一個與 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 特定屬性表示。