Decision.ToString Method (String, IFormatProvider)

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts the decision to its equivalent string representation.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public override string ToString(
	string format,
	IFormatProvider formatProvider
)

Parameters

format
Type: System.String
The format to use, or null.
formatProvider
Type: System.IFormatProvider
An object that provides formatting information for formatting and parsing operations. formatProvider can be null.

Return Value

Type: System.String
The string representation of the decision.

Implements

IFormattable.ToString(String, IFormatProvider)

Use the "n" format to print decision names instead of values.

Show: