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)

Syntax

'Declaration
<GuidAttribute("0D0E68EA-C910-45A7-8C24-7BBFA7D2D201")> _
<InterfaceTypeAttribute()> _
Public Interface IVsPersistSolutionProps _
    Inherits IVsPersistSolutionOpts
[GuidAttribute("0D0E68EA-C910-45A7-8C24-7BBFA7D2D201")]
[InterfaceTypeAttribute()]
public interface IVsPersistSolutionProps : IVsPersistSolutionOpts
[GuidAttribute(L"0D0E68EA-C910-45A7-8C24-7BBFA7D2D201")]
[InterfaceTypeAttribute()]
public interface class IVsPersistSolutionProps : IVsPersistSolutionOpts
[<GuidAttribute("0D0E68EA-C910-45A7-8C24-7BBFA7D2D201")>]
[<InterfaceTypeAttribute()>]
type IVsPersistSolutionProps =  
    interface 
        interface IVsPersistSolutionOpts 
    end
public interface IVsPersistSolutionProps extends IVsPersistSolutionOpts

The IVsPersistSolutionProps type exposes the following members.

Methods

  Name Description
Public method LoadUserOptions Loads user options for a given solution.
Public method OnProjectLoadFailure Allows cleanup and memory management in cases where project fails to load.
Public method QuerySaveSolutionProps Creates a property bag for storing solution properties.
Public method ReadSolutionProps Reads out solution properties from its .sln file.
Public method ReadUserOptions Reads user options for a given solution.
Public method SaveSolutionProps Saves solution properties to its .sln file.
Public method SaveUserOptions Saves user options for a given solution.
Public method WriteSolutionProps Writes solution properties to the .sln file.
Public method WriteUserOptions Writes user options for a given solution.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace