バージョン 24.2 (最新)

Format メソッド (StringFormatUtil)

現在の文字列と指定したオブジェクトのプロパティの値に基づいて、文字列を作成してフォーマットします。
シンタックス
public static string Format( 
   string format,
   object obj,
   StringFormatter.ValueDelegate propertyValue
)

パラメータ

format
書式文字列
obj
フォーマットするオブジェクト。
propertyValue
プロパティ値のデリゲート。

戻り値の型

フォーマットされた文字列。エラー時は null。
参照