IVsTextManager3.SetUserPreferences3(VIEWPREFERENCES3[], FRAMEPREFERENCES2[], LANGPREFERENCES2[], FONTCOLORPREFERENCES2[]) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Define as preferências do usuário conforme especificado.
public:
int SetUserPreferences3(cli::array <Microsoft::VisualStudio::TextManager::Interop::VIEWPREFERENCES3> ^ pViewPrefs, cli::array <Microsoft::VisualStudio::TextManager::Interop::FRAMEPREFERENCES2> ^ pFramePrefs, cli::array <Microsoft::VisualStudio::TextManager::Interop::LANGPREFERENCES2> ^ pLangPrefs, cli::array <Microsoft::VisualStudio::TextManager::Interop::FONTCOLORPREFERENCES2> ^ pColorPrefs);
int SetUserPreferences3(std::Array <Microsoft::VisualStudio::TextManager::Interop::VIEWPREFERENCES3> const & pViewPrefs, std::Array <Microsoft::VisualStudio::TextManager::Interop::FRAMEPREFERENCES2> const & pFramePrefs, std::Array <Microsoft::VisualStudio::TextManager::Interop::LANGPREFERENCES2> const & pLangPrefs, std::Array <Microsoft::VisualStudio::TextManager::Interop::FONTCOLORPREFERENCES2> const & pColorPrefs);
public int SetUserPreferences3 (Microsoft.VisualStudio.TextManager.Interop.VIEWPREFERENCES3[] pViewPrefs, Microsoft.VisualStudio.TextManager.Interop.FRAMEPREFERENCES2[] pFramePrefs, Microsoft.VisualStudio.TextManager.Interop.LANGPREFERENCES2[] pLangPrefs, Microsoft.VisualStudio.TextManager.Interop.FONTCOLORPREFERENCES2[] pColorPrefs);
abstract member SetUserPreferences3 : Microsoft.VisualStudio.TextManager.Interop.VIEWPREFERENCES3[] * Microsoft.VisualStudio.TextManager.Interop.FRAMEPREFERENCES2[] * Microsoft.VisualStudio.TextManager.Interop.LANGPREFERENCES2[] * Microsoft.VisualStudio.TextManager.Interop.FONTCOLORPREFERENCES2[] -> int
Public Function SetUserPreferences3 (pViewPrefs As VIEWPREFERENCES3(), pFramePrefs As FRAMEPREFERENCES2(), pLangPrefs As LANGPREFERENCES2(), pColorPrefs As FONTCOLORPREFERENCES2()) As Integer
Parâmetros
- pViewPrefs
- VIEWPREFERENCES3[]
no Preferências do usuário para as configurações de exibição.
- pFramePrefs
- FRAMEPREFERENCES2[]
no Preferências do usuário para as configurações de quadro.
- pLangPrefs
- LANGPREFERENCES2[]
no Preferências de configurações de idioma do usuário.
- pColorPrefs
- FONTCOLORPREFERENCES2[]
no Preferências de configurações de cores do usuário.
Retornos
Retorna S_OK se o método é bem-sucedido; caso contrário, retorna um código de erro.