复制源文件 (Item1) 到目标文件 (和) 在元组列表在以下情况下:-源都存在-目标不存在并且是唯一的完整
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Public Function CopyFiles ( _
requestContext As TeamFoundationRequestContext, _
containerId As Long, _
sourcesAndTargets As IList(Of Tuple(Of String, String)) _
) As List(Of FileContainerItem)
public List<FileContainerItem> CopyFiles(
TeamFoundationRequestContext requestContext,
long containerId,
IList<Tuple<string, string>> sourcesAndTargets
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- containerId
类型:System.Int64
- sourcesAndTargets
类型:System.Collections.Generic.IList<Tuple<String, String>>
返回值
类型:System.Collections.Generic.List<FileContainerItem>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。