DynamicDataExtensions::FormatValue Method (IFieldFormattingOptions^, Object^)
.NET Framework (current version)
Formats the specified field value by using the specified formatting options.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
public: [ExtensionAttribute] static String^ FormatValue( IFieldFormattingOptions^ formattingOptions, Object^ fieldValue )
Parameters
- formattingOptions
-
Type:
System.Web.DynamicData::IFieldFormattingOptions^
The IFieldFormattingOptions instance to use.
- fieldValue
-
Type:
System::Object^
The field value to format.
Return Value
Type: System::String^The field value that has been formatted by using the specified formatting options.
.NET Framework
Available since 3.5
Available since 3.5
Show: