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 から始まるインデックス。

プロパティ値

指定したインデックス位置にある項目。

実装

例外

valuenullです。

index は、 PathSegmentCollection内の有効なインデックスではありません。

PathSegmentCollectionは読み取り専用です。

-または-

PathSegmentCollectionには固定サイズがあります。

注釈

IList<T>.Item[]の一般的な実装とは異なり、null (Nothing) 参照を挿入しようとすると、この実装はArgumentExceptionをスローします。

適用対象

こちらもご覧ください