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
'Declaração
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
- roleSet
Type: Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
The second text view role set.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.