Share via


Extensions.GetFilteredRefs Method

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetFilteredRefs ( _
    collection As TfsGitRepositoryRefsCollection, _
    requestContext As TeamFoundationRequestContext, _
    refsFilter As String _
) As IEnumerable(Of TfsGitRef)
public static IEnumerable<TfsGitRef> GetFilteredRefs(
    this TfsGitRepositoryRefsCollection collection,
    TeamFoundationRequestContext requestContext,
    string refsFilter
)
[ExtensionAttribute]
public:
static IEnumerable<TfsGitRef^>^ GetFilteredRefs(
    TfsGitRepositoryRefsCollection^ collection, 
    TeamFoundationRequestContext^ requestContext, 
    String^ refsFilter
)
static member GetFilteredRefs : 
        collection:TfsGitRepositoryRefsCollection * 
        requestContext:TeamFoundationRequestContext * 
        refsFilter:string -> IEnumerable<TfsGitRef> 
public static function GetFilteredRefs(
    collection : TfsGitRepositoryRefsCollection, 
    requestContext : TeamFoundationRequestContext, 
    refsFilter : String
) : IEnumerable<TfsGitRef>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<TfsGitRef>
Returns IEnumerable<T>.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TfsGitRepositoryRefsCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

Extensions Class

Microsoft.TeamFoundation.Git.Server Namespace