Compartilhar via


TempDataDictionary.Count Property

Gets the number of elements in the ICollection<T> object.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
    Get
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}

Property Value

Type: System.Int32
The number of elements in the ICollection<T> object.

Implements

ICollection<T>.Count

See Also

Reference

TempDataDictionary Class

System.Web.Mvc Namespace