Interpolated String Handler. To String And Clear Method
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.
Gets the built String and clears the handler.
public: System::String ^ ToStringAndClear();
public string ToStringAndClear ();
member this.ToStringAndClear : unit -> string
Public Function ToStringAndClear () As String
The built string.
This 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 may destabilize the process, as may using any other copies of the handler after ToStringAndClear is called on any one of them.