Dela via


HtmlHelper.GenerateValue(String, Object, String, Boolean) Method

Definition

Generate a value.

protected:
 virtual System::String ^ GenerateValue(System::String ^ expression, System::Object ^ value, System::String ^ format, bool useViewData);
protected virtual string GenerateValue (string expression, object value, string format, bool useViewData);
abstract member GenerateValue : string * obj * string * bool -> string
override this.GenerateValue : string * obj * string * bool -> string
Protected Overridable Function GenerateValue (expression As String, value As Object, format As String, useViewData As Boolean) As String

Parameters

expression
String

The expression.

value
Object

The value.

format
String

The format.

useViewData
Boolean

Whether to use view data.

Returns

The value.

Applies to