OutliningMarginBracketControl.SetIsHighlighted 方法

设置 IsHighlightedProperty

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

语法

声明
Public Shared Sub SetIsHighlighted ( _
    control As OutliningMarginBracketControl, _
    isExpanded As Boolean _
)
public static void SetIsHighlighted(
    OutliningMarginBracketControl control,
    bool isExpanded
)
public:
static void SetIsHighlighted(
    OutliningMarginBracketControl^ control, 
    bool isExpanded
)
static member SetIsHighlighted : 
        control:OutliningMarginBracketControl * 
        isExpanded:bool -> unit
public static function SetIsHighlighted(
    control : OutliningMarginBracketControl, 
    isExpanded : boolean
)

参数

  • isExpanded
    类型:Boolean

    true ,如果控件中显示,否则 false。

.NET Framework 安全性

请参阅

参考

OutliningMarginBracketControl 类

Microsoft.VisualStudio.Text.Editor 命名空间