RazorPageBase.StartTagHelperWritingScope(HtmlEncoder) 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.
Starts a new writing scope and optionally overrides HtmlEncoder within that scope.
public:
void StartTagHelperWritingScope(System::Text::Encodings::Web::HtmlEncoder ^ encoder);
public void StartTagHelperWritingScope (System.Text.Encodings.Web.HtmlEncoder encoder);
member this.StartTagHelperWritingScope : System.Text.Encodings.Web.HtmlEncoder -> unit
Public Sub StartTagHelperWritingScope (encoder As HtmlEncoder)
Parameters
- encoder
- HtmlEncoder
The HtmlEncoder to use when this RazorPage handles
non-IHtmlContent C# expressions. If null
, does not change HtmlEncoder.
Remarks
All writes to the Output or Writer after calling this method will be buffered until EndTagHelperWritingScope() is called.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: