This topic has not yet been rated - Rate this topic

IVsPersistSolutionOpts Interface

Provides access to user-specific options in the user options file associated with the solution.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
public interface IVsPersistSolutionOpts

The IVsPersistSolutionOpts type exposes the following members.

Public methodLoadUserOptionsLoads user options for a given solution.
Public methodReadUserOptionsReads user options for a given solution.
Public methodSaveUserOptionsSaves user options for a given solution.
Public methodWriteUserOptionsWrites user options for a given solution.

This interface allows the solution to track user-specific options and state information, and helps persist them across sessions.

See illustrations of the implementation and/or calling of this interface in the Solution Extender sample.

Notes to Implementers

VSPackages implement this interface to save information into the UserOptions (.suo) file.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.