Compartir a través de


LatestItemVersionUri Class

A Uri represention a Version Control latest versioned item artifact

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Common.VersionControlIntegrationUri
    Microsoft.TeamFoundation.VersionControl.Common.LatestItemVersionUri

Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common.Integration (in Microsoft.TeamFoundation.VersionControl.Common.Integration.dll)

Syntax

'Declaration
Public Class LatestItemVersionUri _
    Inherits VersionControlIntegrationUri
public class LatestItemVersionUri : VersionControlIntegrationUri
public ref class LatestItemVersionUri : public VersionControlIntegrationUri
type LatestItemVersionUri =  
    class 
        inherit VersionControlIntegrationUri 
    end
public class LatestItemVersionUri extends VersionControlIntegrationUri

The LatestItemVersionUri type exposes the following members.

Constructors

  Name Description
Public method LatestItemVersionUri(String, Int32) Construct a Versioned Item Uri object given a Team Foundation Server Url, and item identifier
Public method LatestItemVersionUri(TeamFoundationServer, Int32) Obsolete. Construct a Versioned Item Uri object given a Team Foundation Server Url, a server path, changeset, and deletion id.
Public method LatestItemVersionUri(TfsTeamProjectCollection, Int32) Construct a Versioned Item Uri object given a Team Foundation Server Url, a server path, changeset, and deletion id.

Top

Properties

  Name Description
Public property ArtifactId Gets the ArtifactId for the version control artifact (Inherited from VersionControlIntegrationUri.)
Public property ArtifactName Returns the name of the Version Control artifact. (Inherited from VersionControlIntegrationUri.)
Public property ArtifactTitle Returns the title of the artifact. The title varies by the type of the artifact. artifact. (Inherited from VersionControlIntegrationUri.)
Public property ArtifactType Returns the type of the Version Control artifact. (Inherited from VersionControlIntegrationUri.)
Public property TeamFoundationServerUrl Returns the Url of the Team Foundation server (Inherited from VersionControlIntegrationUri.)
Public property Uri Returns the Uri of the artifact. (Inherited from VersionControlIntegrationUri.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the string value of the artifact's Uri. (Inherited from VersionControlIntegrationUri.)
Public method ToUrl Returns the Url of the artifact; the Url may be addressed to obtain detailed information about the artifact. (Inherited from VersionControlIntegrationUri.)

Top

Fields

  Name Description
Protected field m_artifactName (Inherited from VersionControlIntegrationUri.)
Protected field m_artifactType (Inherited from VersionControlIntegrationUri.)

Top

Remarks

These Uris always refer to the latest (non-deleted) item

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Common Namespace