ViewDataDictionary.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 given value
using the given format
.
public:
static System::String ^ FormatValue(System::Object ^ value, System::String ^ format);
public static string FormatValue (object value, string format);
public static string? FormatValue (object? value, string? format);
static member FormatValue : obj * string -> string
Public Shared Function FormatValue (value As Object, format As String) As String
Parameters
- value
- Object
The value to format.
- format
- String
The format string (see https://msdn.microsoft.com/en-us/library/txafckwd.aspx).
Returns
The formatted String.