Freigeben über


TextViewHostOptionExtensions.IsGlyphMarginEnabled-Methode

Bestimmt, ob der Symbolrand 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 IsGlyphMarginEnabled ( _
    options As IEditorOptions _
) As Boolean
public static bool IsGlyphMarginEnabled(
    this IEditorOptions options
)
[ExtensionAttribute]
public:
static bool IsGlyphMarginEnabled(
    IEditorOptions^ options
)
static member IsGlyphMarginEnabled : 
        options:IEditorOptions -> bool
public static function IsGlyphMarginEnabled(
    options : IEditorOptions
) : boolean

Parameter

Rückgabewert

Typ: Boolean
true , wenn der Symbolrand 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