Package.OnSaveOptions Method

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

protected virtual void OnSaveOptions(
	string key,
	Stream stream
)

Parameters

key
Type: System.String

The name of the option key to save.

stream
Type: System.IO.Stream

The stream to save the option data to.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft