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.
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
The TfsGitRepositoryRefsCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | All | Returns all refs in the repository. |
![]() | AllRefHeads | Returns all ref heads in the repository. |
![]() | AllRefNotes | Returns all ref notes in the repository. |
![]() | AllRefTags | Returns all ref tags in the repository. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | IsNoteRef | |
![]() ![]() | IsTagRef | |
![]() | MatchingName | Returns the ref in the repository matching the provided name, or null if no such ref is found. |
![]() | MatchingNames | Returns the refs in the repository whose name is in the provided list. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RefNotesInNamespace | Returns all ref notes in the repository for a given namespace |
![]() | SetHead | Given 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. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Write(TeamFoundationRequestContext, TfsGitRefUpdateRequest, IEnumerable(Of Byte()), DateTime) | Writes the provided ref to the repository. |
![]() | Write(TeamFoundationRequestContext, IEnumerable(Of TfsGitRefUpdateRequest), IEnumerable(Of Byte()), DateTime) | Writes the provided set of refs to the repository. |
Show:
