CollectionExtensionsIsEmptyT Method |
Determines whether the ObservableCollection is Empty.
Namespace:
Xcalibur.Extensions
Assembly:
Xcalibur.Extensions (in Xcalibur.Extensions.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax public static bool IsEmpty<T>(
this ObservableCollection<T> collection
)
<ExtensionAttribute>
Public Shared Function IsEmpty(Of T) (
collection As ObservableCollection(Of T)
) As Boolean
public:
[ExtensionAttribute]
generic<typename T>
static bool IsEmpty(
ObservableCollection<T>^ collection
)
[<ExtensionAttribute>]
static member IsEmpty :
collection : ObservableCollection<'T> -> bool
Parameters
- collection
- Type: System.Collections.ObjectModelObservableCollectionT
Type Parameters
- T
Return Value
Type:
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ObservableCollectionT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also