IVsTextManager3.GetUserPreferences3-Methode
Returns the user preferences specified for the given font or language.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)
Syntax
'Declaration
Function GetUserPreferences3 ( _
<OutAttribute> pViewPrefs As VIEWPREFERENCES3(), _
<OutAttribute> pFramePrefs As FRAMEPREFERENCES2(), _
<OutAttribute> pLangPrefs As LANGPREFERENCES2(), _
<OutAttribute> pColorPrefs As FONTCOLORPREFERENCES2() _
) As Integer
int GetUserPreferences3(
VIEWPREFERENCES3[] pViewPrefs,
FRAMEPREFERENCES2[] pFramePrefs,
LANGPREFERENCES2[] pLangPrefs,
FONTCOLORPREFERENCES2[] pColorPrefs
)
int GetUserPreferences3(
[OutAttribute] array<VIEWPREFERENCES3>^ pViewPrefs,
[OutAttribute] array<FRAMEPREFERENCES2>^ pFramePrefs,
[InAttribute] [OutAttribute] array<LANGPREFERENCES2>^ pLangPrefs,
[InAttribute] [OutAttribute] array<FONTCOLORPREFERENCES2>^ pColorPrefs
)
abstract GetUserPreferences3 :
pViewPrefs:VIEWPREFERENCES3[] byref *
pFramePrefs:FRAMEPREFERENCES2[] byref *
pLangPrefs:LANGPREFERENCES2[] byref *
pColorPrefs:FONTCOLORPREFERENCES2[] byref -> int
function GetUserPreferences3(
pViewPrefs : VIEWPREFERENCES3[],
pFramePrefs : FRAMEPREFERENCES2[],
pLangPrefs : LANGPREFERENCES2[],
pColorPrefs : FONTCOLORPREFERENCES2[]
) : int
Parameter
pViewPrefs
Typ: array<Microsoft.VisualStudio.TextManager.Interop.VIEWPREFERENCES3[][out] User preferences for the view settings.
pFramePrefs
Typ: array<Microsoft.VisualStudio.TextManager.Interop.FRAMEPREFERENCES2[][out] User preferences for the frame settings.
pLangPrefs
Typ: array<Microsoft.VisualStudio.TextManager.Interop.LANGPREFERENCES2[][in, out] User language settings preferences.
pColorPrefs
Typ: array<Microsoft.VisualStudio.TextManager.Interop.FONTCOLORPREFERENCES2[][in, out] User color settings preferences.
Rückgabewert
Typ: Int32
Returns S_OK if the method is successful; otherwise, returns an error code.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.