Compartilhar 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

'Declaration
Function QuerySaveSolutionProps ( _
    pHierarchy As IVsHierarchy, _
    <OutAttribute> pqsspSave As VSQUERYSAVESLNPROPS() _
) As Integer
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: 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

Microsoft.VisualStudio.Shell.Interop Namespace