LabelSpec.Parse 方法

分析窗体 name@scope 的标签规范并返回两个部分。 如果范围在标签规范未指定,请使用 defaultScope 参数。

命名空间:  Microsoft.TeamFoundation.VersionControl.Common
程序集:  Microsoft.TeamFoundation.VersionControl.Common(在 Microsoft.TeamFoundation.VersionControl.Common.dll 中)

语法

声明
Public Shared Sub Parse ( _
    spec As String, _
    defaultScope As String, _
    permitWildcardNames As Boolean, _
    <OutAttribute> ByRef labelName As String, _
    <OutAttribute> ByRef labelScope As String _
)
public static void Parse(
    string spec,
    string defaultScope,
    bool permitWildcardNames,
    out string labelName,
    out string labelScope
)

参数

  • defaultScope
    类型:System.String
    标签范围的默认值 (可能为空。)
  • permitWildcardNames
    类型:System.Boolean
    指示在标签名称的通配符是否允许。

.NET Framework 安全性

请参阅

参考

LabelSpec 类

Microsoft.TeamFoundation.VersionControl.Common 命名空间