Initializes a new LabelVersionSpec object.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Sub New ( _
    label As String, _
    scope As String _
)
public LabelVersionSpec(
    string label,
    string scope
)
public:
LabelVersionSpec(
    String^ label, 
    String^ scope
)
new : 
        label:string * 
        scope:string -> LabelVersionSpec
public function LabelVersionSpec(
    label : String, 
    scope : String
)
Parameters
- label
 Type: System.String
 The name of the label to encapsulate.
- scope
 Type: System.String
 The scope of the label. May be null.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.