Delen via


LabelUri Class

A Uri representation a Version Control label artifact

Inheritance Hierarchy

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

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

Syntax

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

The LabelUri type exposes the following members.

Constructors

  Name Description
Public method LabelUri(String, Int32) Construct a Label Uri object given a Team Foundation Server Url, and label identifier.
Public method LabelUri(TeamFoundationServer, Int32) Obsolete. Construct a Label Uri object given a Team Foundation Server Url, and label identifier.
Public method LabelUri(TfsTeamProjectCollection, Int32) Construct a Label Uri object given a Team Foundation project collection object, and label identifier.

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

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