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(1)]
public interface IVsPersistSolutionProps : IVsPersistSolutionOpts

NameDescription
System_CAPS_pubmethodLoadUserOptions(IVsSolutionPersistence, UInt32)

Loads user options for a given solution.

System_CAPS_pubmethodOnProjectLoadFailure(IVsHierarchy, String, String, String)

Allows cleanup and memory management in cases where project fails to load.

System_CAPS_pubmethodQuerySaveSolutionProps(IVsHierarchy, VSQUERYSAVESLNPROPS[])

Creates a property bag for storing solution properties.

System_CAPS_pubmethodReadSolutionProps(IVsHierarchy, String, String, String, Int32, IPropertyBag)

Reads out solution properties from its .sln file.

System_CAPS_pubmethodReadUserOptions(IStream, String)

Reads user options for a given solution.

System_CAPS_pubmethodSaveSolutionProps(IVsHierarchy, IVsSolutionPersistence)

Saves solution properties to its .sln file.

System_CAPS_pubmethodSaveUserOptions(IVsSolutionPersistence)

Saves user options for a given solution.

System_CAPS_pubmethodWriteSolutionProps(IVsHierarchy, String, IPropertyBag)

Writes solution properties to the .sln file.

System_CAPS_pubmethodWriteUserOptions(IStream, String)

Writes 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.

Return to top
Show: