IVsSolutionPersistence::LoadPackageUserOpts Method (IVsPersistSolutionOpts^, String^)
Visual Studio 2015
Enables the loading of package-level user options that are stored in one or more named streams in the solution .sln file. This method allows the caller to name the option stream (or streams) to be loaded.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pPSO
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsPersistSolutionOpts^
[in] Pointer to the IVsPersistSolutionOpts interface.
- pszKey
-
Type:
System::String^
[in] Name of the stream to be opened in the options file storage.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsSolutionPersistence::LoadPackageUserOpts( [in] IVsPersistSolutionOpts *pPSO, [in] LPCOLESTR pszKey );
The method provides an intermediary function for IVsPersistSolutionOpts to call to obtain stream names it needs to implement its ReadUserOptions method.
Show: