Compartilhar via


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
Protected Overridable Sub OnSaveOptions ( _
    key As String, _
    stream As Stream _
)
protected virtual void OnSaveOptions(
    string key,
    Stream stream
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

Package Class

Microsoft.VisualStudio.Shell Namespace