HttpApplicationState.Count 属性   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 HttpApplicationState 集合中的对象数。
public:
 virtual property int Count { int get(); };public override int Count { get; }member this.Count : intPublic Overrides ReadOnly Property Count As Integer属性值
集合中的 Item 对象数。 默认值为 0。
示例
仅当集合中的对象数超过 5 时,以下示例才会执行。
if (Application.Count > 5)
{
    //...
}
If Application.Count > 5 Then
   ' ...
End If