Package.IVsPersistSolutionOpts.LoadUserOptions 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.
Loads user options for a given solution.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.LoadUserOptions(Microsoft::VisualStudio::Shell::Interop::IVsSolutionPersistence ^ pPersistance, System::UInt32 options) = Microsoft::VisualStudio::Shell::Interop::IVsPersistSolutionOpts::LoadUserOptions;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.LoadUserOptions(Microsoft::VisualStudio::Shell::Interop::IVsSolutionPersistence ^ pPersistance, unsigned int options) = Microsoft::VisualStudio::Shell::Interop::IVsPersistSolutionOpts::LoadUserOptions;
int Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.LoadUserOptions(Microsoft::VisualStudio::Shell::Interop::IVsSolutionPersistence const & pPersistance, unsigned int options);
int IVsPersistSolutionOpts.LoadUserOptions (Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence pPersistance, uint options);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.LoadUserOptions : Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts.LoadUserOptions : Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence * uint32 -> int
Function LoadUserOptions (pPersistance As IVsSolutionPersistence, options As UInteger) As Integer Implements IVsPersistSolutionOpts.LoadUserOptions
Parameters
- pPersistance
- IVsSolutionPersistence
IVsSolutionPersistence object.
- options
- UInt32
User options whose value is taken from the __VSLOADUSEROPTS
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
Called when a solution is opened, and allows the Visual Studio environment to inspect our options.