Skip to main content Skip to complementary content

ForceContentAsync Method

Overloads

ForceContentAsync(String, Double)

Sets the value of a dual variable overriding any input constraints.

ForceContentAsync(AsyncHandle, String, Double)

Sets the value of a dual variable overriding any input constraints.

ForceContentAsync(String, Double)

Sets the value of a dual variable overriding any input constraints.

Declaration

      [Obsolete("Use _GenericVariable::SetProperties_ method instead")]
Task ForceContentAsync([QixName("qs")] string s, [QixName("qd")] double d)
    

Parameters

Type Name Description
System.String s

String representation of a dual value. Set this parameter to "", if the string representation is to be Null.

System.Double d

Numeric representation of a dual value.

Returns

Type Description
System.Threading.Tasks.Task

ForceContentAsync(AsyncHandle, String, Double)

Sets the value of a dual variable overriding any input constraints.

Declaration

      [Obsolete("Use _GenericVariable::SetProperties_ method instead")]
Task ForceContentAsync(AsyncHandle asyncHandle, [QixName("qs")] string s, [QixName("qd")] double d)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.String s

String representation of a dual value. Set this parameter to "", if the string representation is to be Null.

System.Double d

Numeric representation of a dual value.

Returns

Type Description
System.Threading.Tasks.Task

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!