Metodo Package.IVsPersistSolutionOpts.SaveUserOptions

Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.

Salva le opzioni di una soluzione specificata.

Spazio dei nomi:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Sintassi

'Dichiarazione
Private Function SaveUserOptions ( _
    pPersistance As IVsSolutionPersistence _
) As Integer Implements IVsPersistSolutionOpts.SaveUserOptions
int IVsPersistSolutionOpts.SaveUserOptions(
    IVsSolutionPersistence pPersistance
)

Parametri

Valore restituito

Tipo: System.Int32
Se il metodo ha esito positivo, restituisce S_OK.Se non riesce, restituisce un codice di errore.

Implementa

IVsPersistSolutionOpts.SaveUserOptions(IVsSolutionPersistence)

Note

Chiamato dalla shell quando vengono salvati in modo permanente le opzioni di servizio.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Package Classe

Spazio dei nomi Microsoft.VisualStudio.Shell