次の方法で共有


DesignerCollection.Count プロパティ

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

Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}
[C++]
public: __property int get_Count();
[JScript]
public function get Count() : int;

プロパティ値

コレクション内のデザイナの数。

使用例

[Visual Basic, C#, C++] コレクション内の要素数を取得するコード例を次に示します。

 
' 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;

[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン 言語のフィルタ をクリックします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

DesignerCollection クラス | DesignerCollection メンバ | System.ComponentModel.Design 名前空間