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

適用対象