IVsPersistSolutionProps.SaveSolutionProps(IVsHierarchy, IVsSolutionPersistence) Method

Definition

Saves solution properties to its .sln file.

public:
 int SaveSolutionProps(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsSolutionPersistence ^ pPersistence);
public:
 int SaveSolutionProps(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsSolutionPersistence ^ pPersistence);
int SaveSolutionProps(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsSolutionPersistence const & pPersistence);
public int SaveSolutionProps (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence pPersistence);
abstract member SaveSolutionProps : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence -> int
Public Function SaveSolutionProps (pHierarchy As IVsHierarchy, pPersistence As IVsSolutionPersistence) As Integer

Parameters

pHierarchy
IVsHierarchy

[in] Pointer to the IVsHierarchy interface.

pPersistence
IVsSolutionPersistence

[in] Pointer to the IVsSolutionPersistence interface.

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

Applies to