DatabaseFileMappingsDictionary.Item[String] 屬性

定義

取得或設定與指定資料庫來源檔案路徑相關的值。

public string this[string sourceFilePath] { get; set; }
member this.Item(string) : string with get, set
Default Public Property Item(sourceFilePath As String) As String

參數

sourceFilePath
String

完整路徑指向來源資料庫檔案,包括檔名。

屬性值

與此原始資料庫來源檔案路徑相關聯的目標資料庫檔案路徑。 若找不到指定的原始檔案路徑,取得操作會拋出 System.Collections.Generic.KeyNotFoundException,而 set 操作則會建立包含指定來源檔案路徑的新元素。

適用於