IVsPersistSolutionProps Interface

Definition

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

public interface class IVsPersistSolutionProps : Microsoft::VisualStudio::Shell::Interop::IVsPersistSolutionOpts
public interface class IVsPersistSolutionProps : Microsoft::VisualStudio::Shell::Interop::IVsPersistSolutionOpts
__interface IVsPersistSolutionProps : Microsoft::VisualStudio::Shell::Interop::IVsPersistSolutionOpts
[System.Runtime.InteropServices.Guid("0D0E68EA-C910-45A7-8C24-7BBFA7D2D201")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsPersistSolutionProps : Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts
type IVsPersistSolutionProps = interface
    interface IVsPersistSolutionOpts
Public Interface IVsPersistSolutionProps
Implements IVsPersistSolutionOpts
Attributes
Implements

Remarks

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.

Methods

LoadUserOptions(IVsSolutionPersistence, UInt32)

Loads user options for a given solution.

OnProjectLoadFailure(IVsHierarchy, String, String, String)

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

QuerySaveSolutionProps(IVsHierarchy, VSQUERYSAVESLNPROPS[])

Creates a property bag for storing solution properties.

ReadSolutionProps(IVsHierarchy, String, String, String, Int32, IPropertyBag)

Reads out solution properties from its .sln file.

ReadUserOptions(IStream, String)

Reads user options for a given solution.

SaveSolutionProps(IVsHierarchy, IVsSolutionPersistence)

Saves solution properties to its .sln file.

SaveUserOptions(IVsSolutionPersistence)

Saves user options for a given solution.

WriteSolutionProps(IVsHierarchy, String, IPropertyBag)

Writes solution properties to the .sln file.

WriteUserOptions(IStream, String)

Writes user options for a given solution.

Applies to