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
artifactUri
Type: System.UriThe artifact Uri.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.Item
The latest item version.
.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.