IVsTextManager3::GetUserPreferences3 Method (array<VIEWPREFERENCES3>^, array<FRAMEPREFERENCES2>^, array<LANGPREFERENCES2>^, array<FONTCOLORPREFERENCES2>^)

 

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)

int GetUserPreferences3(
	array<VIEWPREFERENCES3>^ pViewPrefs,
	array<FRAMEPREFERENCES2>^ pFramePrefs,
	array<LANGPREFERENCES2>^ pLangPrefs,
	array<FONTCOLORPREFERENCES2>^ pColorPrefs
)

Parameters

pViewPrefs
Type: array<Microsoft.VisualStudio.TextManager.Interop::VIEWPREFERENCES3>^

[out] User preferences for the view settings.

pFramePrefs
Type: array<Microsoft.VisualStudio.TextManager.Interop::FRAMEPREFERENCES2>^

[out] User preferences for the frame settings.

pLangPrefs
Type: array<Microsoft.VisualStudio.TextManager.Interop::LANGPREFERENCES2>^

[in, out] User language settings preferences.

pColorPrefs
Type: array<Microsoft.VisualStudio.TextManager.Interop::FONTCOLORPREFERENCES2>^

[in, out] User color settings preferences.

Return Value

Type: System::Int32

Returns S_OK if the method is successful; otherwise, returns an error code.

Return to top
Show: