Bagikan melalui


VersionControlArtifactProvider.GetLabel Method

Gets the label that is associated with the specified URI.

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

Syntax

'Declaration
Public Function GetLabel ( _
    artifactUri As Uri _
) As VersionControlLabel
public VersionControlLabel GetLabel(
    Uri artifactUri
)
public:
VersionControlLabel^ GetLabel(
    Uri^ artifactUri
)
member GetLabel : 
        artifactUri:Uri -> VersionControlLabel
public function GetLabel(
    artifactUri : Uri
) : VersionControlLabel

Parameters

  • artifactUri
    Type: System.Uri

    The URI of the desired label.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel
The label that is associated with the specified URI.

.NET Framework Security

See Also

Reference

VersionControlArtifactProvider Class

Microsoft.TeamFoundation.VersionControl.Client Namespace