Sdílet prostřednictvím


RazorPageBase.AddHtmlAttributeValue Metoda

Definice

Přidejte hodnotu atributu 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)

Parametry

prefix
String

Předpona

prefixOffset
Int32

Posun předpony.

value
Object

Hodnota atributu.

valueOffset
Int32

Posun hodnoty.

valueLength
Int32

Délka hodnoty.

isLiteral
Boolean

Určuje, jestli je atribut literál.

Platí pro