'Declaration Public Shared Function SetItemsSource( _ ByVal list As ListView, _ ByVal source As IEnumerable, _ Optional ByVal textMemberPath As String, _ Optional ByVal largeIconMemberPath As String _ ) As IDataCollection(Of Object)
public static IDataCollection<object> SetItemsSource( ListView list, IEnumerable source, string textMemberPath, string largeIconMemberPath )
Parameters
- 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.