Share via


HtmlHelper.FormatValue(Object, String) Method

Definition

Formats the value.

public:
 virtual System::String ^ FormatValue(System::Object ^ value, System::String ^ format);
public string FormatValue (object value, string format);
abstract member FormatValue : obj * string -> string
override this.FormatValue : obj * string -> string
Public Function FormatValue (value As Object, format As String) As String

Parameters

value
Object

The value.

format
String

The format string (see https://msdn.microsoft.com/en-us/library/txafckwd.aspx) used to format the return value.

Returns

A String containing the formatted value.

Implements

Applies to