IVsPersistSolutionProps.WriteSolutionProps Method (IVsHierarchy, String, IPropertyBag)
Visual Studio 2015
Writes solution properties to the .sln file.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pHierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] Pointer to the IVsHierarchy interface.
- pszKey
-
Type:
System.String
[in] Name of the set of properties, the property bag.
- pPropBag
-
Type:
Microsoft.VisualStudio.OLE.Interop.IPropertyBag
[in] Pointer to the IPropertyBag interface to which the property name/value pairs are written.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsPersistSolutionProps::WriteSolutionProps( [in] IVsHierarchy *pHierarchy, [in] LPCOLESTR pszKey, [in] IPropertyBag *pPropBag );
Show: