ITextViewRoleSet.UnionWith, méthode

Obtient l'union d'un ensemble et d'un rôle différent d'ensemble d'affichage de texte.

Espace de noms :  Microsoft.VisualStudio.Text.Editor
Assembly :  Microsoft.VisualStudio.Text.UI (dans Microsoft.VisualStudio.Text.UI.dll)

Syntaxe

'Déclaration
Function UnionWith ( _
    roleSet As ITextViewRoleSet _
) As ITextViewRoleSet
ITextViewRoleSet UnionWith(
    ITextViewRoleSet roleSet
)
ITextViewRoleSet^ UnionWith(
    ITextViewRoleSet^ roleSet
)
abstract UnionWith : 
        roleSet:ITextViewRoleSet -> ITextViewRoleSet
function UnionWith(
    roleSet : ITextViewRoleSet
) : ITextViewRoleSet

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
L'union d'un ensemble et d'un rôle différent d'ensemble d'affichage de texte.

Exceptions

Exception Condition
ArgumentNullException

roleSet a la valeur nullune référence null (Nothing en Visual Basic).

Sécurité .NET Framework

Voir aussi

Référence

ITextViewRoleSet Interface

Microsoft.VisualStudio.Text.Editor, espace de noms