Freigeben über


TextViewOptionExtensions.IsDragDropEditingEnabled-Methode

Bestimmt, ob die Option für Drag & Drop-Bearbeitung in den angegebenen Optionen 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 IsDragDropEditingEnabled ( _
    options As IEditorOptions _
) As Boolean
public static bool IsDragDropEditingEnabled(
    this IEditorOptions options
)
[ExtensionAttribute]
public:
static bool IsDragDropEditingEnabled(
    IEditorOptions^ options
)
static member IsDragDropEditingEnabled : 
        options:IEditorOptions -> bool
public static function IsDragDropEditingEnabled(
    options : IEditorOptions
) : boolean

Parameter

Rückgabewert

Typ: Boolean
true , wenn die Drag & Drop-Bearbeitungsoption 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

TextViewOptionExtensions Klasse

Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods-Namespace