Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] Pointer to IVsHierarchy. nulla null reference (Nothing in Visual Basic) indicates a save for the global section of the solution file.
pqsspSave
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYSAVESLNPROPS[][out] Pointer to the VSQUERYSAVESLNPROPS enumeration indicating whether the solution has properties, properties that have changed, or no properties.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.