編輯

共用方式為


CollectionView(IEnumerable) Constructor

Definition

Initializes a new instance of the CollectionView class that represents a view of the specified collection.

public:
 CollectionView(System::Collections::IEnumerable ^ collection);
public CollectionView (System.Collections.IEnumerable collection);
new System.Windows.Data.CollectionView : System.Collections.IEnumerable -> System.Windows.Data.CollectionView
Public Sub New (collection As IEnumerable)

Parameters

collection
IEnumerable

The underlying collection.

Remarks

The instance of CollectionView is bound to the user interface (UI) thread dispatcher of the caller of this constructor.

Applies to