This documentation is archived and is not being maintained.

IVsPersistSolutionProps.SaveSolutionProps Method

Saves solution properties to its .sln file.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int SaveSolutionProps (
	[InAttribute] IVsHierarchy^ pHierarchy, 
	[InAttribute] IVsSolutionPersistence^ pPersistence
int SaveSolutionProps (
	/** @attribute InAttribute() */ IVsHierarchy pHierarchy, 
	/** @attribute InAttribute() */ IVsSolutionPersistence pPersistence
function SaveSolutionProps (
	pHierarchy : IVsHierarchy, 
	pPersistence : IVsSolutionPersistence
) : int



[in] Pointer to the IVsHierarchy interface.


[in] Pointer to the IVsSolutionPersistence interface.

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsPersistSolutionProps::SaveSolutionProps(
   [in] IVsHierarchy *pHierarchy,
   [in] IVsSolutionPersistence *pPersistence