Compartilhar via


VersionControlLabel Constructor

Creates a representation of a source control label that will be sent to the server.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaração
Public Sub New ( _
    sourceControl As VersionControlServer, _
    name As String, _
    ownerName As String, _
    scope As String, _
    comment As String _
)
public VersionControlLabel(
    VersionControlServer sourceControl,
    string name,
    string ownerName,
    string scope,
    string comment
)
public:
VersionControlLabel(
    VersionControlServer^ sourceControl, 
    String^ name, 
    String^ ownerName, 
    String^ scope, 
    String^ comment
)
new : 
        sourceControl:VersionControlServer * 
        name:string * 
        ownerName:string * 
        scope:string * 
        comment:string -> VersionControlLabel
public function VersionControlLabel(
    sourceControl : VersionControlServer, 
    name : String, 
    ownerName : String, 
    scope : String, 
    comment : String
)

Parameters

  • scope
    Type: System.String
    The folder path defining the scope of the label. May be null.

.NET Framework Security

See Also

Reference

VersionControlLabel Class

Microsoft.TeamFoundation.VersionControl.Client Namespace