Share via


DesignerCollection.Count 속성

정의

컬렉션의 디자이너 수를 가져옵니다.

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

속성 값

컬렉션의 디자이너 수입니다.

구현

예제

다음 코드 예제에서는 컬렉션의 요소 수를 가져옵니다.

// Get the number of elements in the collection.
int count = collection->Count;
// Get the number of elements in the collection.
int count = collection.Count;
' Get the number of elements in the collection.
Dim count As Integer = collection.Count

적용 대상