ConversionToString(Object, String) Method

Return the formatted String representation of the specified value.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static string ToString(
	Object value,
	string format
)

Parameters

value  Object
Instance of an object to inspect.
format  String
Display Format to apply to the string.

Return Value

String
Formatted string representation of caller's object.

Remarks

Allowable formats for Boolean values are the following.

  • YesNo
  • YN
  • TrueFalse
  • TF
  • 10
  • (blank)

See Also