IVsSolutionPersistence.SavePackageUserOpts(IVsPersistSolutionOpts, String) IVsSolutionPersistence.SavePackageUserOpts(IVsPersistSolutionOpts, String) IVsSolutionPersistence.SavePackageUserOpts(IVsPersistSolutionOpts, String) Method

Definition

Writes user options to the solution file. Saves package-level user options to one or more named streams in the solution .sln file.

public int SavePackageUserOpts (Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts pPSO, string pszKey);
abstract member SavePackageUserOpts : Microsoft.VisualStudio.Shell.Interop.IVsPersistSolutionOpts * string -> int
Public Function SavePackageUserOpts (pPSO As IVsPersistSolutionOpts, pszKey As String) As Integer
Parameters
pszKey
String String String

[in] Name of the stream to which options are to be saved.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionPersistence::SavePackageUserOpts(  
   [in] IVsPersistSolutionOpts *pPSO,  
   [in] LPCOLESTR pszKey  
);  

Applies to