Condividi tramite


IdentityPropertiesView.CreateView<T> Method (TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Shared Function CreateView(Of T As {New, IdentityPropertiesView}) ( _
    requestContext As TeamFoundationRequestContext, _
    identity As TeamFoundationIdentity, _
    existingPropertyFilters As IEnumerable(Of String) _
) As T
public static T CreateView<T>(
    TeamFoundationRequestContext requestContext,
    TeamFoundationIdentity identity,
    IEnumerable<string> existingPropertyFilters
)
where T : new(), IdentityPropertiesView
public:
generic<typename T>
where T : gcnew(), IdentityPropertiesView 
static T CreateView(
    TeamFoundationRequestContext^ requestContext, 
    TeamFoundationIdentity^ identity, 
    IEnumerable<String^>^ existingPropertyFilters
)
static member CreateView : 
        requestContext:TeamFoundationRequestContext * 
        identity:TeamFoundationIdentity * 
        existingPropertyFilters:IEnumerable<string> -> 'T  when 'T : new() and IdentityPropertiesView
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: T

.NET Framework Security

See Also

Reference

IdentityPropertiesView Class

CreateView Overload

Microsoft.TeamFoundation.Framework.Server Namespace