共用方式為


IVsPersistSolutionOpts Interface

Provides access to user-specific options in the user options file associated with the solution.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")> _
Public Interface IVsPersistSolutionOpts
'用途
Dim instance As IVsPersistSolutionOpts
[InterfaceTypeAttribute()]
[GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
public interface IVsPersistSolutionOpts
[InterfaceTypeAttribute()]
[GuidAttribute(L"53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
public interface class IVsPersistSolutionOpts
[<InterfaceTypeAttribute()>]
[<GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")>]
type IVsPersistSolutionOpts =  interface end
public interface IVsPersistSolutionOpts

Remarks

This interface allows the solution to track user-specific options and state information, and helps persist them across sessions.

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

Notes to Implementers

VSPackages implement this interface to save information into the UserOptions (.suo) file.

See Also

Reference

IVsPersistSolutionOpts Members

Microsoft.VisualStudio.Shell.Interop Namespace