IVsPersistSolutionProps.SaveSolutionProps 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

Implementors of this method are expected to be safe to be accesssed from any thread if its owner is passed to IVsSolutionPersistence on a background thread.

Applies to