A utility class for manipulating label specifications. It contains routines for parsing, formatting, validating, and so on.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Common.LabelSpec
Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public NotInheritable Class LabelSpec
public static class LabelSpec
public ref class LabelSpec abstract sealed
[<AbstractClass>]
[<Sealed>]
type LabelSpec =  class end
public final class LabelSpec
The LabelSpec type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | Combine | Builds the qualified label name from the label name and scope parts. | 
| .gif) .gif) | IsLegalName(String) | |
| .gif) .gif) | IsLegalName(String, Boolean) | |
| .gif) .gif) | IsLegalScope | Returns true if labelScope is a valid label scope. Verifies it is a server item without wildcard characters. | 
| .gif) .gif) | IsLegalSpec(String) | Returns true if labelSpec is a valid label specification. | 
| .gif) .gif) | IsLegalSpec(String, Boolean) | Returns true if labelSpec is a valid label specification. | 
| .gif) .gif) | Parse | Parses a label specification of the form name@scope and return the two parts. If the scope is not specified in the label specification, use the defaultScope argument. | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.