PointCollection.Item[Int32] 属性

定义

获取或设置指定索引处的 Point

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

参数

index
Int32

要获取或设置的 Point 的从零开始的索引。

属性值

Point

指定索引处的 Point

实现

例外

valuenull

index 不是 PointCollection 中的有效索引。

PointCollection 为只读。

注解

与典型的实现不同,如果尝试插入 null (Nothing) 引用,则ArgumentException引发此实现IList<T>.Item[]

适用于

另请参阅