DynamicDataExtensions.FormatEditValue(IFieldFormattingOptions, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Formats the specified field value by using the specified formatting options.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ FormatEditValue(System::Web::DynamicData::IFieldFormattingOptions ^ formattingOptions, System::Object ^ fieldValue);
public static string FormatEditValue (this System.Web.DynamicData.IFieldFormattingOptions formattingOptions, object fieldValue);
static member FormatEditValue : System.Web.DynamicData.IFieldFormattingOptions * obj -> string
<Extension()>
Public Function FormatEditValue (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.
Remarks
The FormatEditValue method is like the FormatValue method, but it is used when the field is in edit mode.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา