Compartilhar via


EntitySet.Count Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets the current count of entities in the set.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As EntitySet
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
property int Count {
    int get ();
}
member Count : int
function get Count () : int

Property Value

Type: System.Int32
An integer indicating the count of entities in the set.

See Also

Reference

EntitySet Class

System.ServiceModel.DomainServices.Client Namespace