Share via


DirectoryCatalog.SearchPattern 屬性

定義

取得傳遞至 DirectoryCatalog 物件之建構函式的搜尋模式。

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

屬性值

目錄用來尋找檔案的搜尋模式。 預設為 *.dll,這會傳回所有 DLL 檔案。

適用於