Delen via


ICollectionViewFactory.CreateView Method

Definition

Creates an ICollectionView instance using default settings.

public:
 ICollectionView ^ CreateView();
ICollectionView CreateView();
public ICollectionView CreateView();
function createView()
Public Function CreateView () As ICollectionView

Returns

The default view.

Remarks

This method is called when you set the CollectionViewSource.Source property to an ICollectionViewFactory implementation. The returned ICollectionView implementation is used to manage sorting, filtering, grouping, and currency for the bound collection. When using the CollectionViewSource class, you can access the View property to retrieve the ICollectionView implementation.

Applies to