IVsPersistSolutionOpts Interface

Definition

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

public interface class IVsPersistSolutionOpts
public interface class IVsPersistSolutionOpts
__interface IVsPersistSolutionOpts
[System.Runtime.InteropServices.Guid("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsPersistSolutionOpts
[System.Runtime.InteropServices.Guid("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsPersistSolutionOpts
[<System.Runtime.InteropServices.Guid("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsPersistSolutionOpts = interface
[<System.Runtime.InteropServices.Guid("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsPersistSolutionOpts = interface
Public Interface IVsPersistSolutionOpts
Derived
Attributes

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.

Methods

LoadUserOptions(IVsSolutionPersistence, UInt32)

Loads user options for a given solution.

ReadUserOptions(IStream, String)

Reads user options for a given solution.

SaveUserOptions(IVsSolutionPersistence)

Saves user options for a given solution.

WriteUserOptions(IStream, String)

Writes user options for a given solution.

Applies to