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)

[InterfaceTypeAttribute()]
[GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
public interface IVsPersistSolutionOpts

The IVsPersistSolutionOpts type exposes the following members.

  NameDescription
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.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft