LabelVersionSpec Constructor (String, String)
Initializes a new LabelVersionSpec object.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
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.StringThe name of the label to encapsulate.
scope
Type: System.StringThe 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.