コレクション内の名前空間の数を取得します。
名前空間: System.CodeDom
アセンブリ: System (system.dll 内)
構文
'宣言
Public ReadOnly Property Count As Integer
'使用
Dim instance As CodeNamespaceImportCollection
Dim value As Integer
value = instance.Count
public int Count { get; }
public:
property int Count {
int get ();
}
/** @property */
public int get_Count ()
public function get Count () : int
プロパティ値
コレクション内の名前空間の数。
使用例
' Retrieves the count of the items in the collection.
Dim collectionCount As Integer = collection.Count
// 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.
int collectionCount = collection.get_Count();
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0
参照
関連項目
CodeNamespaceImportCollection クラス
CodeNamespaceImportCollection メンバ
System.CodeDom 名前空間