Condividi tramite


IVsSolutionPersistence Interface

Definition

Facilitates writing package-specific properties and options into the solution file (.sln), and, conversely, the loading of properties and options from the file.

public interface class IVsSolutionPersistence
public interface class IVsSolutionPersistence
__interface IVsSolutionPersistence
[System.Runtime.InteropServices.Guid("67A65088-52F3-4C47-B829-1B53A112E8DC")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSolutionPersistence
[System.Runtime.InteropServices.Guid("67A65088-52F3-4C47-B829-1B53A112E8DC")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSolutionPersistence
[<System.Runtime.InteropServices.Guid("67A65088-52F3-4C47-B829-1B53A112E8DC")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSolutionPersistence = interface
[<System.Runtime.InteropServices.Guid("67A65088-52F3-4C47-B829-1B53A112E8DC")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSolutionPersistence = interface
Public Interface IVsSolutionPersistence
Attributes

Remarks

Some members of this interface are safe to access from any thread.

Notes to Callers

Upon saving package-specific properties or options to the .sln file, or loading properties or options from the .sln file.

Methods

LoadPackageUserOpts(IVsPersistSolutionOpts, String)

Enables the loading of package-level user options that are stored in one or more named streams in the solution .sln file. This method allows the caller to name the option stream (or streams) to be loaded.

SavePackageSolutionProps(Int32, IVsHierarchy, IVsPersistSolutionProps, String)

Writes properties to the solution .sln file.

SavePackageUserOpts(IVsPersistSolutionOpts, String)

Writes user options to the solution file. Saves package-level user options to one or more named streams in the solution .sln file.

Applies to