Udostępnij za pośrednictwem


Package.OnSaveOptions(String, Stream) Method

Definition

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.

Applies to