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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context with which the request should be issued.
refNames
Type: System.Collections.Generic.IEnumerable<String>The list of ref names to return.
Return Value
Type: System.Collections.Generic.IEnumerable<TfsGitRef>
The refs in the repository whose name is in the provided list.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.