Share via


VersionControlArtifactProvider.GetLatestItemVersion Method

Gets the latest item version.

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

Syntax

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

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Item
The latest item version.

.NET Framework Security

See Also

Reference

VersionControlArtifactProvider Class

Microsoft.TeamFoundation.VersionControl.Client Namespace