| ObservableCompositeCollectionFromSingleItemT Method |
Create a collection initially containing one single item
Namespace:
TomsToolbox.ObservableCollections
Assembly:
TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll)
Syntax public static ObservableCompositeCollection<T> FromSingleItem<T>(
T singleItem
)
Public Shared Function FromSingleItem(Of T) (
singleItem As T
) As ObservableCompositeCollection(Of T)
Parameters
- singleItem
- Type: T
The first single item in the collection
Type Parameters
- T
- The type of elements in the list.
Return Value
Type:
ObservableCompositeCollectionTA new
ObservableCompositeCollectionT containing one fixed list with one single item.
See Also