Package.OnSaveOptions(String, Stream) 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.
Invoked by the Package class when there are options to be saved to the solution file.
protected:
virtual void OnSaveOptions(System::String ^ key, System::IO::Stream ^ stream);
protected virtual void OnSaveOptions (string key, System.IO.Stream stream);
abstract member OnSaveOptions : string * System.IO.Stream -> unit
override this.OnSaveOptions : string * System.IO.Stream -> unit
Protected Overridable Sub OnSaveOptions (key As String, stream As 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.