Dela via


ViewDataDictionary.FormatValue(Object, String) Method

Definition

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.

Returns

The formatted String.

Applies to