Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / NotifyCollectionBase<T> Class / Count Property


In This Topic
    Count Property (NotifyCollectionBase<T>)
    In This Topic
    Gets the number of elements contained in the collection.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(0)>
    Public Overridable ReadOnly Property Count As Integer
    'Usage
     
    Dim instance As NotifyCollectionBase(Of T)
    Dim value As Integer
     
    value = instance.Count
    [DefaultValue(0)]
    public virtual int Count {get;}

    Property Value

    The number of elements contained in the collection. The default value is 0.
    See Also