IHtmlHelper.FormatValue(Object, String) メソッド

定義

値の書式を設定します。

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

パラメーター

value
Object

値。

format
String

戻り値の書式設定に使用される書式指定文字列 (「」を参照 https://msdn.microsoft.com/en-us/library/txafckwd.aspx)。

戻り値

String書式設定された値を格納している 。

注釈

null または空の場合formatは、 String を 直接 に変換valueします。

適用対象