Uređivanje

Dijeli putem


GeometryCollection.Item[Int32] Property

Definition

Gets or sets the Geometry at the specified index position.

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

Parameters

index
Int32

The zero-based index of the Geometry to get or set.

Property Value

The Geometry at the specified index.

Implements

Exceptions

The attempt to modify the collection is invalid because the collection is frozen (its IsFrozen property is true).

index is less than zero.

-or-

index is equal to or greater than Count.

Applies to