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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")> _
Public Interface IVsPersistSolutionOpts
[InterfaceTypeAttribute()]
[GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
public interface IVsPersistSolutionOpts
[InterfaceTypeAttribute()]
[GuidAttribute(L"53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
public interface class IVsPersistSolutionOpts
[<InterfaceTypeAttribute()>]
[<GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")>]
type IVsPersistSolutionOpts =  interface end
public interface IVsPersistSolutionOpts

The IVsPersistSolutionOpts type exposes the following members.

Methods

  Name Description
Public method LoadUserOptions Loads user options for a given solution.
Public method ReadUserOptions Reads user options for a given solution.
Public method SaveUserOptions Saves user options for a given solution.
Public method WriteUserOptions Writes user options for a given solution.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace