Udostępnij za pośrednictwem


IVsTextManager3.GetUserPreferences3 Method

Definition

Returns the user preferences specified for the given font or language.

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

Parameters

pViewPrefs
VIEWPREFERENCES3[]

[out] User preferences for the view settings.

pFramePrefs
FRAMEPREFERENCES2[]

[out] User preferences for the frame settings.

pLangPrefs
LANGPREFERENCES2[]

[in, out] User language settings preferences.

pColorPrefs
FONTCOLORPREFERENCES2[]

[in, out] User color settings preferences.

Returns

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

Applies to