ConstraintCollection.Item Property

Definition

Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Item[Int32] Gets a constraint from the collection.
Item[String] Gets or sets a Constraint in this collection.

Item(Int32)

Gets a constraint from the collection.
C#
public Constraint this[
	int index
] { get; }

Parameters

index  Int32
The zero-based index of the constraint.

Return Value

Constraint
The Constraint.

Item(String)

Gets or sets a Constraint in this collection.
C#
public Constraint this[
	string key
] { get; set; }

Parameters

key  String
The name of the constraint.

Return Value

Constraint
The specified Constraint.

Implements

IDictionary<TKey, TValue>.Item[TKey]

See Also