IVsSolutionPersistence::SavePackageUserOpts Method (IVsPersistSolutionOpts^, String^)
Visual Studio 2015
Writes user options to the solution file. Saves package-level user options to one or more named streams in the solution .sln file.
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 which options are to be saved.
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::SavePackageUserOpts( [in] IVsPersistSolutionOpts *pPSO, [in] LPCOLESTR pszKey );
Show: