Edit

Share via


DefaultInterpolatedStringHandler.Clear Method

Definition

Clears the handler.

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

Remarks

This method releases any resources used by the handler. The method should be invoked only once and as the last thing performed on the handler. Subsequent use is erroneous, ill-defined, and might destabilize the process, as might using any other copies of the handler after Clear() is called on any one of them.

Applies to