[]
Wraps the IBindingList into a data collection.
[RequiresUnreferencedCode("Members of types used in the bindingList and bindingList interfaces might be trimmed.")]
public static C1BindingListDataCollection AsDataCollection(this IBindingList bindingList)
<RequiresUnreferencedCode("Members of types used in the bindingList and bindingList interfaces might be trimmed.")>
Public Shared Function AsDataCollection(bindingList As IBindingList) As C1BindingListDataCollection
| Type | Name | Description |
|---|---|---|
| IBindingList | bindingList | The binding list. |
| Type | Description |
|---|---|
| C1BindingListDataCollection |
Wraps the DataTable into a data collection.
[UnconditionalSuppressMessage("Trimming", "IL2026", Justification = "The members of dataTable rows and the interfaces will be available at runtime")]
public static C1BindingListDataCollection AsDataCollection(this DataTable dataTable)
<UnconditionalSuppressMessage("Trimming", "IL2026", Justification:="The members of dataTable rows and the interfaces will be available at runtime")>
Public Shared Function AsDataCollection(dataTable As DataTable) As C1BindingListDataCollection
| Type | Name | Description |
|---|---|---|
| DataTable | dataTable | The data table. |
| Type | Description |
|---|---|
| C1BindingListDataCollection |