Partager via


Package.IVsPersistSolutionOpts.SaveUserOptions(IVsSolutionPersistence) Method

Definition

Saves user options for a given solution.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.SaveUserOptions(Microsoft::VisualStudio::Shell::Interop::IVsSolutionPersistence ^ pPersistance) = Microsoft::VisualStudio::Shell::Interop::IVsPersistSolutionOpts::SaveUserOptions;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.SaveUserOptions(Microsoft::VisualStudio::Shell::Interop::IVsSolutionPersistence ^ pPersistance) = Microsoft::VisualStudio::Shell::Interop::IVsPersistSolutionOpts::SaveUserOptions;
int Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.SaveUserOptions(Microsoft::VisualStudio::Shell::Interop::IVsSolutionPersistence const & pPersistance);
int IVsPersistSolutionOpts.SaveUserOptions (Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence pPersistance);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.SaveUserOptions : Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.SaveUserOptions : Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence -> int
Function SaveUserOptions (pPersistance As IVsSolutionPersistence) As Integer Implements IVsPersistSolutionOpts.SaveUserOptions

Parameters

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

Called by the shell when persisting service options.

Applies to