IVsPersistSolutionProps.SaveSolutionProps Method
Saves solution properties to its .sln file.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SaveSolutionProps ( _
pHierarchy As IVsHierarchy, _
pPersistence As IVsSolutionPersistence _
) As Integer
int SaveSolutionProps(
IVsHierarchy pHierarchy,
IVsSolutionPersistence pPersistence
)
int SaveSolutionProps(
[InAttribute] IVsHierarchy^ pHierarchy,
[InAttribute] IVsSolutionPersistence^ pPersistence
)
abstract SaveSolutionProps :
pHierarchy:IVsHierarchy *
pPersistence:IVsSolutionPersistence -> int
function SaveSolutionProps(
pHierarchy : IVsHierarchy,
pPersistence : IVsSolutionPersistence
) : int
Parameters
pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] Pointer to the IVsHierarchy interface.
pPersistence
Type: Microsoft.VisualStudio.Shell.Interop.IVsSolutionPersistence[in] Pointer to the IVsSolutionPersistence interface.
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::SaveSolutionProps(
[in] IVsHierarchy *pHierarchy,
[in] IVsSolutionPersistence *pPersistence
);
.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.