DatabaseFileMappingsDictionary.Item[String] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置与指定的数据库源文件路径关联的值。
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,并且设置操作会创建具有指定源文件路径的新元素。