ActivityCollection.Item[] 속성

정의

ActivityICollection 항목을 이름이나 인덱스별로 가져옵니다.

오버로드

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의 키입니다.

설명

Activity에 지정된 키를 가진 ICollection가 없는 경우 예외가 발생합니다.

적용 대상

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로 설정하려고 시도한 경우

적용 대상