Partager via


VsTextManagerClass.SetUserPreferences, méthode

Définit des préférences de l'utilisateur.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Public Overridable Function SetUserPreferences ( _
    pViewPrefs As VIEWPREFERENCES(), _
    pFramePrefs As FRAMEPREFERENCES(), _
    pLangPrefs As LANGPREFERENCES(), _
    pColorPrefs As FONTCOLORPREFERENCES() _
) As Integer
public virtual int SetUserPreferences(
    VIEWPREFERENCES[] pViewPrefs,
    FRAMEPREFERENCES[] pFramePrefs,
    LANGPREFERENCES[] pLangPrefs,
    FONTCOLORPREFERENCES[] pColorPrefs
)
public:
virtual int SetUserPreferences(
    [InAttribute] array<VIEWPREFERENCES>^ pViewPrefs, 
    [InAttribute] array<FRAMEPREFERENCES>^ pFramePrefs, 
    [InAttribute] array<LANGPREFERENCES>^ pLangPrefs, 
    [InAttribute] array<FONTCOLORPREFERENCES>^ pColorPrefs
)
abstract SetUserPreferences : 
        pViewPrefs:VIEWPREFERENCES[] * 
        pFramePrefs:FRAMEPREFERENCES[] * 
        pLangPrefs:LANGPREFERENCES[] * 
        pColorPrefs:FONTCOLORPREFERENCES[] -> int  
override SetUserPreferences : 
        pViewPrefs:VIEWPREFERENCES[] * 
        pFramePrefs:FRAMEPREFERENCES[] * 
        pLangPrefs:LANGPREFERENCES[] * 
        pColorPrefs:FONTCOLORPREFERENCES[] -> int
public function SetUserPreferences(
    pViewPrefs : VIEWPREFERENCES[], 
    pFramePrefs : FRAMEPREFERENCES[], 
    pLangPrefs : LANGPREFERENCES[], 
    pColorPrefs : FONTCOLORPREFERENCES[]
) : int

Paramètres

  • pColorPrefs
    Type : array<Microsoft.VisualStudio.TextManager.Interop.FONTCOLORPREFERENCES[]

    [in] les valeurs qui décrivent les préférences de couleur et de police pour l'ensemble de l'éditeur s'affiche. Ce paramètre est pour une utilisation interne d'éditeur uniquement. Doit être nullune référence null (Nothing en Visual Basic) lorsque cette méthode est appelée par les packages externes. Pour plus d'informations, consultez FONTCOLORPREFERENCES.

Valeur de retour

Type : Int32

Implémentations

IVsTextManager.SetUserPreferences(array<VIEWPREFERENCES[], array<FRAMEPREFERENCES[], array<LANGPREFERENCES[], array<FONTCOLORPREFERENCES[])

Sécurité .NET Framework

Voir aussi

Référence

VsTextManagerClass Classe

Microsoft.VisualStudio.TextManager.Interop, espace de noms