OutliningMarginBracketControl.SetIsHighlighted Method
Sets IsHighlightedProperty.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
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
)
Parameters
- control
Type: Microsoft.VisualStudio.Text.Editor.OutliningMarginBracketControl
The OutliningMarginBracketControl.
- isExpanded
Type: System.Boolean
true if the control is highlighted, otherwise false.
.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.