HttpApplicationState.Count Propriedade
Definição
Obtém o número de objetos na coleção HttpApplicationState.Gets the number of objects in the HttpApplicationState collection.
public:
virtual property int Count { int get(); };
public override int Count { get; }
member this.Count : int
Public Overrides ReadOnly Property Count As Integer
Valor da propriedade
O número de objetos de item na coleção.The number of item objects in the collection. O padrão é 0.The default is 0.
Exemplos
O exemplo a seguir será executado somente se o número de objetos na coleção exceder cinco.The following example executes only if the number of objects in the collection exceeds five.
if (Application.Count > 5)
{
//...
}
If Application.Count > 5 Then
' ...
End If