ITextViewRoleSet.UnionWith 方法

获取设置的设置和其他文本视图角色的联合。

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
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

参数

返回值

类型:Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
设置的设置和其他文本视图角色的联合。

异常

异常 条件
ArgumentNullException

roleSet 为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参阅

参考

ITextViewRoleSet 接口

Microsoft.VisualStudio.Text.Editor 命名空间