Editar

Compartir a través de


DynamicDataExtensions.FormatValue(IFieldFormattingOptions, Object) Method

Definition

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

Parameters

formattingOptions
IFieldFormattingOptions

The IFieldFormattingOptions instance to use.

fieldValue
Object

The field value to format.

Returns

The field value that has been formatted by using the specified formatting options.

Applies to