Partager via


IdentityPropertiesView.CreateView<T> Method (TeamFoundationRequestContext, IdentityPropertiesView)

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, _
    ownerView As IdentityPropertiesView _
) As T
public static T CreateView<T>(
    TeamFoundationRequestContext requestContext,
    IdentityPropertiesView ownerView
)
where T : new(), IdentityPropertiesView
public:
generic<typename T>
where T : gcnew(), IdentityPropertiesView 
static T CreateView(
    TeamFoundationRequestContext^ requestContext, 
    IdentityPropertiesView^ ownerView
)
static member CreateView : 
        requestContext:TeamFoundationRequestContext * 
        ownerView:IdentityPropertiesView -> 'T  when 'T : new() and IdentityPropertiesView
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: T
Returns {0}.

.NET Framework Security

See Also

Reference

IdentityPropertiesView Class

CreateView Overload

Microsoft.TeamFoundation.Framework.Server Namespace