次の方法で共有


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

'宣言
<GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")> _
<InterfaceTypeAttribute()> _
Public Interface IVsPersistSolutionOpts
'使用
Dim instance As IVsPersistSolutionOpts
[GuidAttribute("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
[InterfaceTypeAttribute()]
public interface IVsPersistSolutionOpts
[GuidAttribute(L"53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
[InterfaceTypeAttribute()]
public interface class IVsPersistSolutionOpts
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