FileChangeMonitor.FilePaths 屬性

定義

取得集合,其中包含針對變更情況進行監控的檔案路徑。

public:
 abstract property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ FilePaths { System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ get(); };
public abstract System.Collections.ObjectModel.ReadOnlyCollection<string> FilePaths { get; }
member this.FilePaths : System.Collections.ObjectModel.ReadOnlyCollection<string>
Public MustOverride ReadOnly Property FilePaths As ReadOnlyCollection(Of String)

屬性值

檔案路徑的集合。

備註

集合通常會在衍生 FileChangeMonitor 類型的建構函式中設定。

若要提供自定義檔案變更監視,您必須在衍生類別中覆寫這個方法。

適用於