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(1)]
[GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
public interface IVsPersistSolutionOpts

NameDescription
System_CAPS_pubmethodLoadUserOptions(IVsSolutionPersistence, UInt32)

Loads user options for a given solution.

System_CAPS_pubmethodReadUserOptions(IStream, String)

Reads user options for a given solution.

System_CAPS_pubmethodSaveUserOptions(IVsSolutionPersistence)

Saves user options for a given solution.

System_CAPS_pubmethodWriteUserOptions(IStream, String)

Writes 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 sample.545e349b-a992-4a4d-9ad8-1d576cef3a3e

Notes to Implementers:

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

Return to top
Show: