Term.ToString Method (String, IFormatProvider)

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

Converts a term to its equivalent string representation.

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


Public Overridable Function ToString ( _
    format As String, _
    formatProvider As IFormatProvider _
) As String
public virtual string ToString(
    string format,
    IFormatProvider formatProvider
virtual String^ ToString(
    String^ format, 
    IFormatProvider^ formatProvider
abstract ToString : 
        format:string * 
        formatProvider:IFormatProvider -> string 
override ToString : 
        format:string * 
        formatProvider:IFormatProvider -> string 
public function ToString(
    format : String, 
    formatProvider : IFormatProvider
) : String


  • format
    Type: System.String
    The standard or custom numeric format string to use, or a nulla null reference (Nothing in Visual Basic) value.
  • formatProvider
    Type: System.IFormatProvider
    An object that provides information for formatting and parsing operations.

Return Value

Type: System.String
The string representation of the current instance of a term.


IFormattable.ToString(String, IFormatProvider)

.NET Framework Security

See Also


Term Class

ToString Overload

Microsoft.SolverFoundation.Services Namespace