This documentation is archived and is not being maintained.

TfsGitRepositoryRefsCollection Class

Visual Studio 2013

Represents the set of refs for a given TFS Git repository.

System.Object
  Microsoft.TeamFoundation.Git.Server.TfsGitRepositoryRefsCollection

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

'Declaration
Public Class TfsGitRepositoryRefsCollection

The TfsGitRepositoryRefsCollection type exposes the following members.

  NameDescription
Public methodAllReturns all refs in the repository.
Public methodAllRefHeadsReturns all ref heads in the repository.
Public methodAllRefNotesReturns all ref notes in the repository.
Public methodAllRefTagsReturns all ref tags in the repository.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberIsNoteRef
Public methodStatic memberIsTagRef
Public methodMatchingNameReturns the ref in the repository matching the provided name, or null if no such ref is found.
Public methodMatchingNamesReturns the refs in the repository whose name is in the provided list.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRefNotesInNamespaceReturns all ref notes in the repository for a given namespace
Public methodSetHeadGiven the name of an existing ref in the repository, sets the HEAD pointer for the repository to that ref. If the ref does not exist, a GitRefNotFoundException will be thrown.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWrite(TeamFoundationRequestContext, TfsGitRefUpdateRequest, IEnumerable(Of Byte()), DateTime)Writes the provided ref to the repository.
Public methodWrite(TeamFoundationRequestContext, IEnumerable(Of TfsGitRefUpdateRequest), IEnumerable(Of Byte()), DateTime)Writes the provided set of refs to the repository.
Top

  NameDescription
Public Extension MethodGetFilteredRefs (Defined by Extensions.)
Top

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