Udostępnij za pośrednictwem


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

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