Metoda IVsPersistSolutionProps.SaveSolutionProps — (IVsHierarchy, IVsSolutionPersistence)
Zapisuje właściwości roztworu w jego pliku .sln.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop (w Microsoft.VisualStudio.Shell.Interop.dll)
Składnia
int SaveSolutionProps(
IVsHierarchy pHierarchy,
IVsSolutionPersistence pPersistence
)
int SaveSolutionProps(
IVsHierarchy^ pHierarchy,
IVsSolutionPersistence^ pPersistence
)
abstract SaveSolutionProps :
pHierarchy:IVsHierarchy *
pPersistence:IVsSolutionPersistence -> int
Function SaveSolutionProps (
pHierarchy As IVsHierarchy,
pPersistence As IVsSolutionPersistence
) As Integer
Parametry
- pHierarchy
[w] Wskaźnik, aby IVsHierarchy interfejsu.
- pPersistence
[w] Wskaźnik, aby IVsSolutionPersistence interfejsu.
Wartość zwracana
Type: System.Int32
Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.
Uwagi
Podpis COM
Z vsshell.idl:
HRESULT IVsPersistSolutionProps::SaveSolutionProps(
[in] IVsHierarchy *pHierarchy,
[in] IVsSolutionPersistence *pPersistence
);
Zobacz też
Interfejs IVsPersistSolutionProps
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku