DesignerCollection.Count プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)

コレクション内のデザイナの数を取得します

名前空間: System.ComponentModel.Design
アセンブリ: System (system.dll 内)
構文構文

Visual Basic (宣言)

Public ReadOnly Property Count As Integer

Visual Basic (使用法)

Dim instance As DesignerCollection Dim value As Integer

value = instance.Count

C#

public int Count { get; }

C++

public: property int Count { int get (); }

J#

/** @property */ public int get_Count ()

JScript

public function get Count () : int

プロパティ
コレクション内のデザイナの数。

使用例使用例

コレクション内の要素数を取得するコード例次に示します

Visual Basic

' Get the number of elements in the collection. Dim count As Integer = collection.Count

C#

// Get the number of elements in the collection. int count = collection.Count;

C++

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

.NET Framework のセキュリティ.NET Frameworkセキュリティ

プラットフォームプラットフォーム

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.01.11.0

参照参照

関連項目
DesignerCollection クラス
DesignerCollection メンバ
System.ComponentModel.Design 名前空間