IVsPersistSolutionProps Interface

Enables VSPackages to write non-user-specific solution properties into the solution .sln file.

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

public interface IVsPersistSolutionProps : IVsPersistSolutionOpts

The IVsPersistSolutionProps type exposes the following members.

Public methodLoadUserOptionsLoads user options for a given solution.
Public methodOnProjectLoadFailureAllows cleanup and memory management in cases where project fails to load.
Public methodQuerySaveSolutionPropsCreates a property bag for storing solution properties.
Public methodReadSolutionPropsReads out solution properties from its .sln file.
Public methodReadUserOptionsReads user options for a given solution.
Public methodSaveSolutionPropsSaves solution properties to its .sln file.
Public methodSaveUserOptionsSaves user options for a given solution.
Public methodWriteSolutionPropsWrites solution properties to the .sln file.
Public methodWriteUserOptionsWrites user options for a given solution.

This interface derives from the IVsPersistSolutionOpts.

Solution properties are written directly into the solution (.sln) file, which contains a series of property name/value pairs.

Notes to Implementers

Implemented by VSPackages to save solution property information into the solution (.sln) file.

Community Additions