BindingList(Of T) Constructor (IList(Of T))

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the BindingList(Of T) class with the specified list.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

Public Sub New (
	list As IList(Of T)
)

Parameters

list
Type: System.Collections.Generic.IList(Of T)

An IList(Of T) of items to be contained in the BindingList(Of T).

Use this BindingList(Of T) to create a BindingList(Of T) that is backed by list, which ensures that changes to list are reflected in the BindingList(Of T).

The following table shows initial property values for an instance of BindingList(Of T) class.

Property

Initial Value

AllowEdit

true

AllowNew

true if the list type has a default constructor; otherwise, false.

AllowRemove

true

RaiseListChangedEvents

true

.NET Framework
Available since 2.0
Return to top
Show: