TagHelperOutput.SuppressOutput Method

Definition

Changes TagHelperOutput to generate nothing.

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

Remarks

Sets TagName to null, and clears PreElement, PreContent, Content, PostContent, and PostElement to suppress output.

Applies to