Udostępnij za pośrednictwem


IVsTextManagerEvents3.OnUserPreferencesChanged3 Method

Definition

Fires whenever the user’s global preferences change.

public:
 int OnUserPreferencesChanged3(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 OnUserPreferencesChanged3(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 OnUserPreferencesChanged3 (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 OnUserPreferencesChanged3 : Microsoft.VisualStudio.TextManager.Interop.VIEWPREFERENCES3[] * Microsoft.VisualStudio.TextManager.Interop.FRAMEPREFERENCES2[] * Microsoft.VisualStudio.TextManager.Interop.LANGPREFERENCES2[] * Microsoft.VisualStudio.TextManager.Interop.FONTCOLORPREFERENCES2[] -> int
Public Function OnUserPreferencesChanged3 (pViewPrefs As VIEWPREFERENCES3(), pFramePrefs As FRAMEPREFERENCES2(), pLangPrefs As LANGPREFERENCES2(), pColorPrefs As FONTCOLORPREFERENCES2()) As Integer

Parameters

pViewPrefs
VIEWPREFERENCES3[]

[in] The view settings preferences.

pFramePrefs
FRAMEPREFERENCES2[]

[in] The frame settings preferences.

pLangPrefs
LANGPREFERENCES2[]

[in] The language settings preferences.

pColorPrefs
FONTCOLORPREFERENCES2[]

[in] The color settings preferences.

Returns

Returns S_OK if the method is successful.

Applies to