ActivityCollection.IList<Activity>.Item[Int32] 속성

정의

지정한 인덱스에 있는 요소를 가져오거나 설정합니다.

property System::Workflow::ComponentModel::Activity ^ System::Collections::Generic::IList<System::Workflow::ComponentModel::Activity>::Item[int] { System::Workflow::ComponentModel::Activity ^ get(int index); void set(int index, System::Workflow::ComponentModel::Activity ^ value); };
System.Workflow.ComponentModel.Activity System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.Item[int index] { get; set; }
member this.System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.Item(int) : System.Workflow.ComponentModel.Activity with get, set
 Property Item(index As Integer) As Activity Implements IList(Of Activity).Item

매개 변수

index
Int32

가져오거나 설정할 요소의 인덱스(0부터 시작)입니다.

속성 값

지정한 인덱스에 있는 Object입니다.

구현

예외

indexIList의 유효한 인덱스가 아닌 경우

ICollection이 읽기 전용인 경우

설명

이 속성은 myCollection[index] 구문을 사용하여 컬렉션의 특정 요소에 액세스하는 기능을 제공합니다.

C# 언어에서는 this 속성을 구현하는 대신 Item 키워드를 사용하여 인덱서를 정의합니다. Visual Basic에서는 동일한 인덱싱 기능을 제공하는 Item을 기본 속성으로 구현합니다.

적용 대상