Compartilhar via


ViewDataDictionary.FormatValue(Object, String) Método

Definição

Formata o determinado value usando o determinado 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

Parâmetros

value
Object

O valor a ser formatado.

format
String

A cadeia de caracteres de formato (consulte https://msdn.microsoft.com/en-us/library/txafckwd.aspx).

Retornos

O formatado String.

Aplica-se a