ActivityCollection.Item[] プロパティ

定義

名前またはインデックスに基づいて、Activity の項目 ICollection を取得します。

オーバーロード

Item[String]

一意的なキー文字列を使って ICollection のアクティビティを取得します。

Item[Int32]

インデックスに基づいて、ICollection のアクティビティを取得または設定します。

Item[String]

一意的なキー文字列を使って ICollection のアクティビティを取得します。

public:
 property System::Workflow::ComponentModel::Activity ^ default[System::String ^] { System::Workflow::ComponentModel::Activity ^ get(System::String ^ key); };
public System.Workflow.ComponentModel.Activity this[string key] { get; }
member this.Item(string) : System.Workflow.ComponentModel.Activity
Default Public ReadOnly Property Item(key As String) As Activity

パラメーター

key
String

ICollection のアクティビティを表す一意的な識別子。

プロパティ値

Activity

Activity のメンバー ICollection (呼び出し時に指定した ICollection 内のキー)。

注釈

キーで示される ActivityICollection にない場合、例外が発生します。

適用対象

Item[Int32]

インデックスに基づいて、ICollection のアクティビティを取得または設定します。

public:
 property System::Workflow::ComponentModel::Activity ^ default[int] { System::Workflow::ComponentModel::Activity ^ get(int index); void set(int index, System::Workflow::ComponentModel::Activity ^ value); };
public System.Workflow.ComponentModel.Activity this[int index] { get; set; }
member this.Item(int) : System.Workflow.ComponentModel.Activity with get, set
Default Public Property Item(index As Integer) As Activity

パラメーター

index
Int32

ICollection の 0 から始まるインデックス番号。

プロパティ値

Activity

ICollection で、呼び出し時に指定したインデックス位置にある ICollection のメンバー アクティビティ。

実装

例外

indexIList の有効なインデックスではありません。

このプロパティが設定されていますが、IList が読み取り専用です。

Object ではない Activity を設定しようとしました。

適用対象