HttpStaticObjectsCollection.Count Propriété

Définition

Obtient le nombre d’objets de la collection.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

Valeur de propriété

Nombre d’objets dans la collection.

Implémente

Exemples

Le code de l’exemple suivant s’exécute uniquement si le nombre d’objets de la collection dépasse cinq.

if (Application.StaticObjects.Count > 5)
{
   //...
}
If Application.StaticObjects.Count > 5 Then
   '...
End If

S’applique à