IVsTextManagerEvents3.OnUserPreferencesChanged3 Method
Fires whenever the user’s global preferences change.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)
Syntax
'宣告
Function OnUserPreferencesChanged3 ( _
pViewPrefs As VIEWPREFERENCES3(), _
pFramePrefs As FRAMEPREFERENCES2(), _
pLangPrefs As LANGPREFERENCES2(), _
pColorPrefs As FONTCOLORPREFERENCES2() _
) As Integer
int OnUserPreferencesChanged3(
VIEWPREFERENCES3[] pViewPrefs,
FRAMEPREFERENCES2[] pFramePrefs,
LANGPREFERENCES2[] pLangPrefs,
FONTCOLORPREFERENCES2[] pColorPrefs
)
int OnUserPreferencesChanged3(
[InAttribute] array<VIEWPREFERENCES3>^ pViewPrefs,
[InAttribute] array<FRAMEPREFERENCES2>^ pFramePrefs,
[InAttribute] array<LANGPREFERENCES2>^ pLangPrefs,
[InAttribute] array<FONTCOLORPREFERENCES2>^ pColorPrefs
)
abstract OnUserPreferencesChanged3 :
pViewPrefs:VIEWPREFERENCES3[] *
pFramePrefs:FRAMEPREFERENCES2[] *
pLangPrefs:LANGPREFERENCES2[] *
pColorPrefs:FONTCOLORPREFERENCES2[] -> int
function OnUserPreferencesChanged3(
pViewPrefs : VIEWPREFERENCES3[],
pFramePrefs : FRAMEPREFERENCES2[],
pLangPrefs : LANGPREFERENCES2[],
pColorPrefs : FONTCOLORPREFERENCES2[]
) : int
Parameters
- pViewPrefs
Type: array<Microsoft.VisualStudio.TextManager.Interop.VIEWPREFERENCES3[]
[in] The view settings preferences.
- pFramePrefs
Type: array<Microsoft.VisualStudio.TextManager.Interop.FRAMEPREFERENCES2[]
[in] The frame settings preferences.
- pLangPrefs
Type: array<Microsoft.VisualStudio.TextManager.Interop.LANGPREFERENCES2[]
[in] The language settings preferences.
- pColorPrefs
Type: array<Microsoft.VisualStudio.TextManager.Interop.FONTCOLORPREFERENCES2[]
[in] The color settings preferences.
Return Value
Type: System.Int32
Returns S_OK if the method is successful.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.