TfsGitRepositoryRefsCollection.MatchingNames Method

Returns the refs in the repository whose name is in the provided list.

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

Syntax

'Declaration
Public Function MatchingNames ( _
    requestContext As TeamFoundationRequestContext, _
    refNames As IEnumerable(Of String) _
) As IEnumerable(Of TfsGitRef)
public IEnumerable<TfsGitRef> MatchingNames(
    TeamFoundationRequestContext requestContext,
    IEnumerable<string> refNames
)
public:
IEnumerable<TfsGitRef^>^ MatchingNames(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<String^>^ refNames
)
member MatchingNames : 
        requestContext:TeamFoundationRequestContext * 
        refNames:IEnumerable<string> -> IEnumerable<TfsGitRef> 
public function MatchingNames(
    requestContext : TeamFoundationRequestContext, 
    refNames : IEnumerable<String>
) : IEnumerable<TfsGitRef>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<TfsGitRef>
The refs in the repository whose name is in the provided list.

.NET Framework Security

See Also

Reference

TfsGitRepositoryRefsCollection Class

Microsoft.TeamFoundation.Git.Server Namespace