Share via


RazorPageBase.AddHtmlAttributeValue Method

Definition

Add an html attribute value.

public:
 void AddHtmlAttributeValue(System::String ^ prefix, int prefixOffset, System::Object ^ value, int valueOffset, int valueLength, bool isLiteral);
public void AddHtmlAttributeValue (string prefix, int prefixOffset, object value, int valueOffset, int valueLength, bool isLiteral);
public void AddHtmlAttributeValue (string? prefix, int prefixOffset, object? value, int valueOffset, int valueLength, bool isLiteral);
member this.AddHtmlAttributeValue : string * int * obj * int * int * bool -> unit
Public Sub AddHtmlAttributeValue (prefix As String, prefixOffset As Integer, value As Object, valueOffset As Integer, valueLength As Integer, isLiteral As Boolean)

Parameters

prefix
String

The prefix.

prefixOffset
Int32

The prefix offset.

value
Object

The attribute value.

valueOffset
Int32

The value offset.

valueLength
Int32

The value length.

isLiteral
Boolean

Whether the attribute is a literal.

Applies to