Compartir a través de


RazorPageBase.AddHtmlAttributeValue Método

Definición

Agregue un valor de atributo html.

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)

Parámetros

prefix
String

Prefijo.

prefixOffset
Int32

Desplazamiento del prefijo.

value
Object

Valor del atributo.

valueOffset
Int32

Desplazamiento del valor.

valueLength
Int32

Longitud del valor.

isLiteral
Boolean

Si el atributo es un literal.

Se aplica a