Share via


TfsGitTag Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Git.Server.TfsGitObject
    Microsoft.TeamFoundation.Git.Server.TfsGitTag

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
Public Class TfsGitTag _
    Inherits TfsGitObject
public class TfsGitTag : TfsGitObject
public ref class TfsGitTag : public TfsGitObject
type TfsGitTag =  
    class 
        inherit TfsGitObject 
    end
public class TfsGitTag extends TfsGitObject

The TfsGitTag type exposes the following members.

Properties

  Name Description
Public property ObjectId The 20-byte SHA-1 hash of this object. (Inherited from TfsGitObject.)
Public property ObjectType The type of this object. (Inherited from TfsGitObject.)
Public property Repository The repository in which this object exists. (Inherited from TfsGitObject.)

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 GetComment
Public method GetCommitTime
Public method GetContent Gets the content for this object from the owning repository. (Inherited from TfsGitObject.)
Public method GetContentBytes Gets the content for this object from the owning repository. (Inherited from TfsGitObject.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLength Gets the length for this object from the owning repository. (Inherited from TfsGitObject.)
Public method GetLocalCommitTime
Public method GetName
Public method GetReferencedObject
Public method GetTagger
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 (Inherited from TfsGitObject.)

Top

Extension Methods

  Name Description
Public Extension Method GetResolvableObjectType (Defined by Extensions.)
Public Extension Method ResolveToCommit (Defined by Extensions.)
Public Extension Method TryResolveToCommit (Defined by Extensions.)

Top

Fields

  Name Description
Protected field m_objectId (Inherited from TfsGitObject.)
Protected field m_objectType (Inherited from TfsGitObject.)
Protected field m_repository (Inherited from TfsGitObject.)

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.Git.Server Namespace