Udostępnij za pośrednictwem


Package.IVsPersistSolutionOpts.LoadUserOptions Method

Definition

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

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.

Applies to