OutliningMarginBracketControl.SetFirstLineOffset Method
Sets the first line offset property.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Public Shared Sub SetFirstLineOffset ( _
control As OutliningMarginBracketControl, _
firstLineOffset As Double _
)
public static void SetFirstLineOffset(
OutliningMarginBracketControl control,
double firstLineOffset
)
public:
static void SetFirstLineOffset(
OutliningMarginBracketControl^ control,
double firstLineOffset
)
static member SetFirstLineOffset :
control:OutliningMarginBracketControl *
firstLineOffset:float -> unit
public static function SetFirstLineOffset(
control : OutliningMarginBracketControl,
firstLineOffset : double
)
Parameters
control
Type: Microsoft.VisualStudio.Text.Editor.OutliningMarginBracketControlThe control.
firstLineOffset
Type: System.DoubleThe first line offset.
.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.