Delen via


VersionControlLabel.LabelId Property

The label's ID, as represented in the database. The label ID is used to generate the artifact name.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property LabelId As Integer
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public int LabelId { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property int LabelId {
    int get ();
    void set (int value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member LabelId : int with get, set
function get LabelId () : int 
function set LabelId (value : int)

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

VersionControlLabel Class

Microsoft.TeamFoundation.VersionControl.Server Namespace