命名空间: Microsoft.TeamFoundation.Common
程序集: Microsoft.TeamFoundation.Common(在 Microsoft.TeamFoundation.Common.dll 中)
语法
声明
Public Shared Sub MoveFile ( _
oldPath As String, _
newPath As String, _
overwriteExisting As Boolean _
)
public static void MoveFile(
string oldPath,
string newPath,
bool overwriteExisting
)
参数
- oldPath
类型:System.String
- newPath
类型:System.String
- overwriteExisting
类型:System.Boolean
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。