CodeNamespaceImportCollection.Count 속성

정의

컬렉션의 네임스페이스 수를 가져옵니다.

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

속성 값

컬렉션의 네임스페이스 수입니다.

구현

예제

다음 코드는 개체의 항목 CodeNamespaceImportCollection 수를 가져옵니다.

// Retrieves the count of the items in the collection.
int collectionCount = collection->Count;
// Retrieves the count of the items in the collection.
int collectionCount = collection.Count;
' Retrieves the count of the items in the collection.
Dim collectionCount As Integer = collection.Count

적용 대상