DynamicDataExtensions.FormatValue(IFieldFormattingOptions, Object) DynamicDataExtensions.FormatValue(IFieldFormattingOptions, Object) DynamicDataExtensions.FormatValue(IFieldFormattingOptions, Object) DynamicDataExtensions.FormatValue(IFieldFormattingOptions, Object) Method

定義

以指定的格式化選項來進行格式化指定的欄位值。Formats the specified field value by using the specified formatting options.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ FormatValue(System::Web::DynamicData::IFieldFormattingOptions ^ formattingOptions, System::Object ^ fieldValue);
public static string FormatValue (this System.Web.DynamicData.IFieldFormattingOptions formattingOptions, object fieldValue);
static member FormatValue : System.Web.DynamicData.IFieldFormattingOptions * obj -> string
<Extension()>
Public Function FormatValue (formattingOptions As IFieldFormattingOptions, fieldValue As Object) As String

參數

fieldValue
Object Object Object Object

要格式化的欄位值。The field value to format.

傳回

已經以指定的格式化選項來進行格式化的欄位值。The field value that has been formatted by using the specified formatting options.

適用於