共用方式為


IVsPersistSolutionOpts Interface

Definition

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

public interface class IVsPersistSolutionOpts
public interface class IVsPersistSolutionOpts
__interface IVsPersistSolutionOpts
[System.Runtime.InteropServices.Guid("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsPersistSolutionOpts
[System.Runtime.InteropServices.Guid("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsPersistSolutionOpts
[<System.Runtime.InteropServices.Guid("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsPersistSolutionOpts = interface
[<System.Runtime.InteropServices.Guid("53BA0F89-24DD-46E1-A7D6-ED24C039FBC4")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsPersistSolutionOpts = interface
Public Interface IVsPersistSolutionOpts
Derived
Attributes

Remarks

Implementors of this interface are expected to be safe to be accesssed from any thread if passed to IVsSolutionPersistence on a background thread.

Notes to Implementers

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

Methods

LoadUserOptions(IVsSolutionPersistence, UInt32)

Loads user options for a given solution.

ReadUserOptions(IStream, String)

Reads user options for a given solution.

SaveUserOptions(IVsSolutionPersistence)

Saves user options for a given solution.

WriteUserOptions(IStream, String)

Writes user options for a given solution.

Applies to