Package.IVsPersistSolutionOpts.SaveUserOptions(IVsSolutionPersistence) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- pPersistance
- IVsSolutionPersistence
IVsSolutionPersistence object.
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.