HtmlHelper.FormatValue(Object, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.