HtmlHelper.GenerateValue(String, Object, String, Boolean) 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.
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.