IdentityPropertiesView.CreateView<T> Method (TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String, IdentityPropertyScope)
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), _
namespaceSuffix As String, _
propertyScope As IdentityPropertyScope _
) As T
public static T CreateView<T>(
TeamFoundationRequestContext requestContext,
TeamFoundationIdentity identity,
IEnumerable<string> existingPropertyFilters,
string namespaceSuffix,
IdentityPropertyScope propertyScope
)
where T : new(), IdentityPropertiesView
public:
generic<typename T>
where T : gcnew(), IdentityPropertiesView
static T CreateView(
TeamFoundationRequestContext^ requestContext,
TeamFoundationIdentity^ identity,
IEnumerable<String^>^ existingPropertyFilters,
String^ namespaceSuffix,
IdentityPropertyScope propertyScope
)
static member CreateView :
requestContext:TeamFoundationRequestContext *
identity:TeamFoundationIdentity *
existingPropertyFilters:IEnumerable<string> *
namespaceSuffix:string *
propertyScope:IdentityPropertyScope -> 'T when 'T : new() and IdentityPropertiesView
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- identity
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
- existingPropertyFilters
Type: System.Collections.Generic.IEnumerable<String>
- namespaceSuffix
Type: System.String
- propertyScope
Type: Microsoft.TeamFoundation.Framework.Common.IdentityPropertyScope
Return Value
Type: T
.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.