IVsPersistSolutionProps::WriteUserOptions Method (IStream^, String^)
Visual Studio 2015
Writes user options for a given solution.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pOptionsStream
-
Type:
Microsoft.VisualStudio.OLE.Interop::IStream^
[in] Pointer to the IStream interface to which the VSPackage should write the user-specific options.
- pszKey
-
Type:
System::String^
[in] Name of the stream, as provided by the VSPackage by means of the SavePackageUserOpts
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsPersistSolutionProps::WriteUserOptions( [in] IStream *pOptionsStream, [in] LPCOLESTR pszKey );
This method is invoked by the environment each time a VSPackage invokes the method SavePackageUserOpts.
Show: