Compartilhar via


HttpRouteCollection.Count Property

Gets the number of items in the collection.

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

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

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

Property Value

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

Implements

ICollection<T>.Count

See Also

Reference

HttpRouteCollection Class

System.Web.Http Namespace