This topic has not yet been rated - Rate this topic

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)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("0D0E68EA-C910-45A7-8C24-7BBFA7D2D201")] 
public interface IVsPersistSolutionProps : IVsPersistSolutionOpts
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("0D0E68EA-C910-45A7-8C24-7BBFA7D2D201") */ 
public interface IVsPersistSolutionProps extends IVsPersistSolutionOpts
InterfaceTypeAttribute(1) 
GuidAttribute("0D0E68EA-C910-45A7-8C24-7BBFA7D2D201") 
public interface IVsPersistSolutionProps extends IVsPersistSolutionOpts

This interface derives from the IVsPersistSolutionOpts, rather than IUnknown.

Solution properties are written directly into the solution (.sln) file, which contains a series of property name/value pairs.

See illustrations of the implementation and/or calling of this interface in the Solution Extender Sample sample.

Notes to Implementers Implemented by VSPackages to save solution property information into the solution (.sln) file.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ