public T AddNew()Public Function AddNew As Tpublic:
T AddNew()member AddNew : unit -> 'T If AllowNew returns , then an InvalidOperationException will be thrown.
Otherwise, if the underlying list implements IBindingList, then its AddNew implementation will be called.
Otherwise, if T is a value type or has a parameterless constructor, then a new item of T is created and added to the list.
Otherwise, an InvalidOperationException will be thrown.
| InvalidOperationException | The AllowNew property returns -or- The underlying collection could not add the new item, and T is not a value type or has no parameterless constructor. |