IVsTextManager3.SetUserPreferences3(VIEWPREFERENCES3[], FRAMEPREFERENCES2[], LANGPREFERENCES2[], FONTCOLORPREFERENCES2[]) Метод

Определение

Задает параметры пользователя, как указано.

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

Параметры

pViewPrefs
VIEWPREFERENCES3[]

окне Пользовательские настройки для параметров представления.

pFramePrefs
FRAMEPREFERENCES2[]

окне Пользовательские настройки для параметров фрейма.

pLangPrefs
LANGPREFERENCES2[]

окне Настройки языковых параметров пользователя.

pColorPrefs
FONTCOLORPREFERENCES2[]

окне Настройки параметров цвета пользователя.

Возвращаемое значение

Int32

Возвращает значение S_OK , если метод успешно выполнен; в противном случае возвращает код ошибки.

Применяется к