IVsPersistSolutionOpts::SaveUserOptions Method (IVsSolutionPersistence^)
Visual Studio 2015
Saves user options for a given solution.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pPersistence
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsSolutionPersistence^
[in] Pointer to the IVsSolutionPersistence interface on which the VSPackage should call its SavePackageUserOpts method for each stream name it wants to write to the user options file.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsPersistSolutionOpts::SaveUserOptions(
[in] IVsSolutionPersistence *pPersistence
);
This method calls the SavePackageUserOpts method for each separate stream to be written to the user options file.
Show: