Compartilhar via


EntitySet<TEntity>.ICollectionViewFactory.CreateView Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Returns a custom view for specialized sorting, filtering, grouping, and currency.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Private Function CreateView As ICollectionView
    Implements ICollectionViewFactory.CreateView
'Usage
Dim instance As EntitySet
Dim returnValue As ICollectionView

returnValue = CType(instance, ICollectionViewFactory).CreateView()
ICollectionView ICollectionViewFactory.CreateView()
private:
virtual ICollectionView^ CreateView() sealed = ICollectionViewFactory::CreateView
private abstract CreateView : unit -> ICollectionView 
private override CreateView : unit -> ICollectionView 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.ComponentModel.ICollectionView
A custom view for specialized sorting, filtering, grouping, and currency.

Implements

ICollectionViewFactory.CreateView()

See Also

Reference

EntitySet<TEntity> Class

System.ServiceModel.DomainServices.Client Namespace