DesignerCollection クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
デザイナーのコレクションを表します。
public ref class DesignerCollection : System::Collections::ICollection
public class DesignerCollection : System.Collections.ICollection
type DesignerCollection = class
interface ICollection
interface IEnumerable
Public Class DesignerCollection
Implements ICollection
- 継承
-
DesignerCollection
- 実装
例
次のコード例では、IDesignerHost オブジェクトの指定した配列で初期化されたDesignerCollectionを作成します。
// Create a DesignerCollection using a constructor
// that accepts an array of IDesignerHost objects with
// which to initialize the array.
array<IDesignerHost^>^temp0 = {designerhost1,designerhost2};
DesignerCollection^ collection = gcnew DesignerCollection( temp0 );
// Create a DesignerCollection using a constructor
// that accepts an array of IDesignerHost objects with
// which to initialize the array.
DesignerCollection collection = new DesignerCollection(
new IDesignerHost[] { designerhost1, designerhost2 } );
' Create a DesignerCollection using a constructor
' that accepts an array of IDesignerHost objects with
' which to initialize the collection.
Dim collection As New DesignerCollection(New IDesignerHost() {designerhost1, designerhost2})
注釈
このコレクション オブジェクトは、デザイナーのセットへの参照を格納できます。
コンストラクター
| 名前 | 説明 |
|---|---|
| DesignerCollection(IDesignerHost[]) |
指定したデザイナーを含む DesignerCollection クラスの新しいインスタンスを初期化します。 |
| DesignerCollection(IList) |
指定したデザイナー のセットを含む DesignerCollection クラスの新しいインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| Count |
コレクション内のデザイナーの数を取得します。 |
| Item[Int32] |
指定したインデックス位置にあるデザイナーを取得します。 |
メソッド
| 名前 | 説明 |
|---|---|
| Equals(Object) |
指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。 (継承元 Object) |
| GetEnumerator() |
このコレクションの新しい列挙子を取得します。 |
| GetHashCode() |
既定のハッシュ関数として機能します。 (継承元 Object) |
| GetType() |
現在のインスタンスの Type を取得します。 (継承元 Object) |
| MemberwiseClone() |
現在の Objectの簡易コピーを作成します。 (継承元 Object) |
| ToString() |
現在のオブジェクトを表す文字列を返します。 (継承元 Object) |
明示的なインターフェイスの実装
| 名前 | 説明 |
|---|---|
| ICollection.CopyTo(Array, Int32) | |
| ICollection.Count |
コレクションに含まれる要素の数を取得します。 |
| ICollection.IsSynchronized |
ICollectionへのアクセスが同期されているかどうかを示す値を取得します (スレッド セーフ)。 |
| ICollection.SyncRoot |
コレクションへのアクセスを同期するために使用できるオブジェクトを取得します。 |
| IEnumerable.GetEnumerator() |
このコレクションの新しい列挙子を取得します。 |
拡張メソッド
| 名前 | 説明 |
|---|---|
| AsParallel(IEnumerable) |
クエリの並列化を有効にします。 |
| AsQueryable(IEnumerable) |
IEnumerable を IQueryableに変換します。 |
| Cast<TResult>(IEnumerable) |
IEnumerable の要素を指定した型にキャストします。 |
| OfType<TResult>(IEnumerable) |
指定した型に基づいて、IEnumerable の要素をフィルター処理します。 |