Freigeben über


TextViewHostOptionExtensions.IsHorizontalScrollBarEnabled-Methode

Bestimmt, ob die horizontale Bildlaufleiste für den angegebenen Satz von Editoroptionen aktiviert ist.

Namespace:  Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsHorizontalScrollBarEnabled ( _
    options As IEditorOptions _
) As Boolean
public static bool IsHorizontalScrollBarEnabled(
    this IEditorOptions options
)
[ExtensionAttribute]
public:
static bool IsHorizontalScrollBarEnabled(
    IEditorOptions^ options
)
static member IsHorizontalScrollBarEnabled : 
        options:IEditorOptions -> bool
public static function IsHorizontalScrollBarEnabled(
    options : IEditorOptions
) : boolean

Parameter

Rückgabewert

Typ: Boolean
true , wenn die horizontale Bildlaufleiste aktiviert ist, andernfalls false.

Hinweis zur Verwendung

In Visual Basic und C# können Sie diese Methode als Instanzenmethode für ein beliebiges Objekt vom Typ IEditorOptions aufrufen. Bei Verwendung der Syntax für Instanzenmethoden lassen Sie den ersten Parameter aus. Weitere Informationen finden Sie unter Erweiterungsmethoden (Visual Basic) und Erweiterungsmethoden (C#-Programmierhandbuch).

.NET Framework-Sicherheit

Siehe auch

Referenz

TextViewHostOptionExtensions Klasse

Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods-Namespace