Export (0) Print
Expand All

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)

[GuidAttribute("0D0E68EA-C910-45A7-8C24-7BBFA7D2D201")]
[InterfaceTypeAttribute()]
public interface IVsPersistSolutionProps : IVsPersistSolutionOpts

The IVsPersistSolutionProps type exposes the following members.

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

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

ADD
Show:
© 2014 Microsoft