DoubleCollection::Item Property (Int32)

 

Gets or sets the Double at the specified zero-based index.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property double default[
	int index
] {
	virtual double get(int index) sealed;
	virtual void set(int index, double value) sealed;
}

Parameters

index
Type: System::Int32

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

Property Value

Type: System::Double

The Double at the specified index.

Exception Condition
ArgumentOutOfRangeException

index is not a valid index in the DoubleCollection.

NotSupportedException

The DoubleCollection is read-only.

- or -

The DoubleCollection has a fixed size.

.NET Framework
Available since 3.0
Return to top
Show: