Delen via


VersionedItemUri Class

A URI representation a Version Control versioned item artifact.

Inheritance Hierarchy

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

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

Syntax

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

The VersionedItemUri type exposes the following members.

Constructors

  Name Description
Public method VersionedItemUri(String, Int32, Int32, UriType) Constructs a Versioned Item URI object given a server path, changeset, and deletion ID and whether the URI will be for a Web view.
Public method VersionedItemUri(String, String, Int32, Int32) See overload.
Public method VersionedItemUri(TeamFoundationServer, String, Int32, Int32) Obsolete. See overload.
Public method VersionedItemUri(TfsTeamProjectCollection, String, Int32, Int32) See overload.
Public method VersionedItemUri(String, String, Int32, Int32, UriType) Constructs a Versioned Item URI object given a Team Foundation Server URL, a server path, changeset, and deletion ID.
Public method VersionedItemUri(TeamFoundationServer, String, Int32, Int32, UriType) Obsolete. Constructs a Versioned Item URI object given a Team Foundation Server object, a server path, changeset, and deletion id and whether the URI will be for a Web view.
Public method VersionedItemUri(TfsTeamProjectCollection, String, Int32, Int32, UriType) Constructs a Versioned Item URI object given a Team Foundation Server object, a server path, changeset, and deletion ID and whether the URI will be for a Web view.

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 Versioned Item artifact. (Overrides VersionControlIntegrationUri.ArtifactTitle.)
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 methodStatic member Decode(String, String%) See overload.
Public methodStatic member Decode(String, String%, Int32%, Int32%) See overload.
Public methodStatic member Decode(String, String%, Int32%, Int32%, UriType%)
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

Versioned items represent specific versions of items.

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