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

源数据库文件的完整路径,包括文件名。

属性值

与此原始数据库源文件路径关联的目标数据库文件路径。 如果未找到指定的源文件路径,则 get 操作将引发 System.Collections.Generic.KeyNotFoundException,并且设置操作会创建具有指定源文件路径的新元素。

适用于