PathSegmentCollection.Item[Int32] 속성

정의

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

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부터 시작)입니다.

속성 값

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

구현

예외

value이(가) null인 경우

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

PathSegmentCollection이 읽기 전용인 경우

또는

PathSegmentCollection가 고정 크기입니다.

설명

일반적인 구현과 달리 IList<T>.Item[],이 구현은 throw는 ArgumentException 삽입 하려는 경우를 null (Nothing) 참조 합니다.

적용 대상

추가 정보