Updates the flight plan setting the given value to all occurrences of condition with id condid.

Namespace: FlightPlan
Assembly: FlightPlanXML (in FlightPlanXML.dll) Versión: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static Leg[] UpdateCondition(
	string condid,
	int res,
	FlightPlan fp
)
Visual Basic
Public Shared Function UpdateCondition ( _
	condid As String, _
	res As Integer, _
	fp As FlightPlan _
) As Leg()
Visual C++
public:
static array<Leg^>^ UpdateCondition(
	String^ condid, 
	int res, 
	FlightPlan^ fp
)

Parameters

condid
Type: System..::..String
A String identifying the condition whose result is to be set.
res
Type: System..::..Int32
A Int32 value with the result of the condition.
fp
Type: FlightPlan..::..FlightPlan
The FlightPlan that contains the conditions.

Return Value

A Leg list with all modified legs.

Remarks

If new leg types appear that make use of conditions this method must be updated accordingly.

See Also