Compartir a través de


ITextViewRoleSet.UnionWith Method

Gets the union of the set and another text view role set.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
The union of the set and another text view role set.

Exceptions

Exception Condition
ArgumentNullException

roleSet is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ITextViewRoleSet Interface

Microsoft.VisualStudio.Text.Editor Namespace