Partager via


IVsPersistSolutionProps.QuerySaveSolutionProps Method

Creates a property bag for storing solution properties.

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

Syntax

'Déclaration
Function QuerySaveSolutionProps ( _
    pHierarchy As IVsHierarchy, _
    <OutAttribute> pqsspSave As VSQUERYSAVESLNPROPS() _
) As Integer
'Utilisation
Dim instance As IVsPersistSolutionProps
Dim pHierarchy As IVsHierarchy
Dim pqsspSave As VSQUERYSAVESLNPROPS()
Dim returnValue As Integer

returnValue = instance.QuerySaveSolutionProps(pHierarchy, _
    pqsspSave)
int QuerySaveSolutionProps(
    IVsHierarchy pHierarchy,
    VSQUERYSAVESLNPROPS[] pqsspSave
)
int QuerySaveSolutionProps(
    [InAttribute] IVsHierarchy^ pHierarchy, 
    [OutAttribute] array<VSQUERYSAVESLNPROPS>^ pqsspSave
)
abstract QuerySaveSolutionProps : 
        pHierarchy:IVsHierarchy * 
        pqsspSave:VSQUERYSAVESLNPROPS[] byref -> int 
function QuerySaveSolutionProps(
    pHierarchy : IVsHierarchy, 
    pqsspSave : VSQUERYSAVESLNPROPS[]
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsPersistSolutionProps::QuerySaveSolutionProps(
   [in] IVsHierarchy *pHierarchy,
   [out] VSQUERYSAVESLNPROPS *pqsspSave
);

.NET Framework Security

See Also

Reference

IVsPersistSolutionProps Interface

IVsPersistSolutionProps Members

Microsoft.VisualStudio.Shell.Interop Namespace