共用方式為


FilteredObservableCollection<T>.Count Property

Gets the number of items in the collection.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'宣告
Public ReadOnly Property Count As Integer
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
abstract Count : int
override Count : int
final function get Count () : int

Property Value

Type: System.Int32
The number of items in the collection.

Implements

ICollection.Count
ICollection<T>.Count

Remarks

If the collection is being filtered, this is the number of items in the filtered list, otherwise the number of items in the underlying list.

.NET Framework Security

See Also

Reference

FilteredObservableCollection<T> Class

Microsoft.VisualStudio.Language.Intellisense Namespace