Package.OnSaveOptions(String, Stream) Method

Definition

Invoked by the Package class when there are options to be saved to the solution file.

C++
protected:
 virtual void OnSaveOptions(System::String ^ key, System::IO::Stream ^ stream);

Parameters

key
String

The name of the option key to save.

stream
Stream

The stream to save the option data to.

Remarks

This method can be overridden by the deriving class to save solution options. See the section on the AddOptionKey method for details.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022