RazorPage.BeginWriteTagHelperAttribute Method

Definition

Starts a new scope for writing ITagHelper attribute values.

public:
 void BeginWriteTagHelperAttribute();
public void BeginWriteTagHelperAttribute ();
member this.BeginWriteTagHelperAttribute : unit -> unit
Public Sub BeginWriteTagHelperAttribute ()

Remarks

All writes to the Output or Writer after calling this method will be buffered until EndWriteTagHelperAttribute() is called. The content will be buffered using a shared StringWriter within this RazorPage Nesting of BeginWriteTagHelperAttribute() and EndWriteTagHelperAttribute() method calls is not supported.

Applies to