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
- 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.