PersonalizationStateInfoCollection.Count 속성

정의

컬렉션의 항목 수를 가져옵니다.

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

속성 값

컬렉션의 항목 수입니다.

구현

예제

다음 코드 예제를 사용 하는 방법에 설명 합니다 Count 속성입니다.

  PersonalizationStateInfoCollection findresult;
findresult = PersonalizationAdministration.FindUserState(null, TextBox3.Text);
if (findresult.Count != 0)
{
    Label4.Text = findresult.Count + "  user(s) found";
    Label4.Visible = true;
}

설명

컬렉션의 항목 수가 예제와 같이 컬렉션을 반복 하 사용할 수 있습니다.

적용 대상