다음을 통해 공유


IVsPersistSolutionProps.QuerySaveSolutionProps Method

Definition

Creates a property bag for storing solution properties.

public:
 int QuerySaveSolutionProps(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, cli::array <Microsoft::VisualStudio::Shell::Interop::VSQUERYSAVESLNPROPS> ^ pqsspSave);
public:
 int QuerySaveSolutionProps(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYSAVESLNPROPS> ^ pqsspSave);
int QuerySaveSolutionProps(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, std::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYSAVESLNPROPS> const & pqsspSave);
public int QuerySaveSolutionProps (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, Microsoft.VisualStudio.Shell.Interop.VSQUERYSAVESLNPROPS[] pqsspSave);
abstract member QuerySaveSolutionProps : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.VSQUERYSAVESLNPROPS[] -> int
Public Function QuerySaveSolutionProps (pHierarchy As IVsHierarchy, pqsspSave As VSQUERYSAVESLNPROPS()) As Integer

Parameters

pHierarchy
IVsHierarchy

[in] Pointer to IVsHierarchy. null indicates a save for the global section of the solution file.

pqsspSave
VSQUERYSAVESLNPROPS[]

[out] Pointer to the VSQUERYSAVESLNPROPS enumeration indicating whether the solution has properties, properties that have changed, or no properties.

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