VersionControlUtil.CheckServerItem 方法 (String%, String, Boolean, Boolean, Boolean, Boolean, PathLength)
命名空间: Microsoft.TeamFoundation.VersionControl.Common
程序集: Microsoft.TeamFoundation.VersionControl.Common(在 Microsoft.TeamFoundation.VersionControl.Common.dll 中)
语法
声明
Public Shared Function CheckServerItem ( _
ByRef item As String, _
parameterName As String, _
allowNull As Boolean, _
allowWildcards As Boolean, _
allow8Dot3Paths As Boolean, _
checkReservedCharacters As Boolean, _
maxServerPathLength As PathLength _
) As ItemValidationError
public static ItemValidationError CheckServerItem(
ref string item,
string parameterName,
bool allowNull,
bool allowWildcards,
bool allow8Dot3Paths,
bool checkReservedCharacters,
PathLength maxServerPathLength
)
参数
- item
类型:System.String%
- parameterName
类型:System.String
- allowNull
类型:System.Boolean
- allowWildcards
类型:System.Boolean
- allow8Dot3Paths
类型:System.Boolean
- checkReservedCharacters
类型:System.Boolean
- maxServerPathLength
类型:Microsoft.TeamFoundation.VersionControl.Common.PathLength
返回值
类型:Microsoft.TeamFoundation.VersionControl.Common.ItemValidationError
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。