Package.IVsPersistSolutionOpts.SaveUserOptions(IVsSolutionPersistence) Method
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;
C++/CX
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
- pPersistance
- IVsSolutionPersistence
IVsSolutionPersistence object.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Called by the shell when persisting service options.
Produit | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |