Gets the annotations values for an array of objects.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
public virtual long[] GetAnnotation(
	Cplex..::..LongAnnotation annotation,
	IAddable[] items
)
Visual Basic
Public Overridable Function GetAnnotation ( _
	annotation As Cplex..::..LongAnnotation, _
	items As IAddable() _
) As Long()

Parameters

annotation
Type: ILOG.CPLEX..::..Cplex..::..LongAnnotation
The annotation to query.
items
Type: array<ILOG.Concert..::..IAddable>[]()[][]
The objects for which the values are to be queried.

Return Value

An array of annotation values that are in 1-to-1-correspondence with the objects in items.

Remarks

Throws NullPointerException if annotation is invalid. Throws ILOG.Concert.Exception if an error occurs.

See Also