HttpApplicationState.Count 속성

정의

컬렉션의 개체 HttpApplicationState 수를 가져옵니다.

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

속성 값

컬렉션의 항목 개체 수입니다. 기본값은 0입니다.

예제

다음 예제에서는 컬렉션의 개체 수가 5개를 초과하는 경우에만 실행됩니다.

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

적용 대상