PathSegmentCollection.Item[Int32] 속성

정의

지정된 인덱스 PathSegment (0부터 시작하는 인덱스)를 가져오거나 설정합니다.

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

매개 변수

index
Int32

가져오기 또는 설정할 개체의 PathSegment 인덱스(0부터 시작)입니다.

속성 값

지정된 인덱스 항목입니다.

구현

예외

valuenull입니다.

index가 .에서 유효한 인덱스가 아닌 경우 PathSegmentCollection

읽기 PathSegmentCollection 전용입니다.

-또는-

크기가 PathSegmentCollection 고정되어 있습니다.

설명

일반적인 구현과 IList<T>.Item[]달리 이 구현은 ArgumentExceptionnull (Nothing) 참조를 삽입하려고 하면 throw됩니다.

적용 대상

추가 정보