Populates items and groups of System.Windows.Forms.ListView according to the source, supporting grouping, sorting and filtering.
シンタックス
'宣言
Public Shared Function SetItemsSource( _
ByVal As System.Windows.Forms.ListView, _
ByVal As System.Collections.IEnumerable, _
Optional ByVal As System.String, _
Optional ByVal As System.String _
) As ICollectionView(Of Object)
public static ICollectionView<object> SetItemsSource(
System.Windows.Forms.ListView ,
System.Collections.IEnumerable ,
System.string ,
System.string
)
パラメータ
- list
- The list that will be populated.
- source
- The data source.
- textMemberPath
- The name of the property where the text of the item comes from.
- largeIconMemberPath
- The name of the property containing the urls of the images that will be downloaded to the System.Windows.Forms.ListView.LargeImageList.
参照