다음을 통해 공유


TextViewOptionExtensions.DoesViewProhibitUserInput(IEditorOptions) Method

Definition

Determines whether the view prohibits all user input.

public:
[System::Runtime::CompilerServices::Extension]
 static bool DoesViewProhibitUserInput(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
 static bool DoesViewProhibitUserInput(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static bool DoesViewProhibitUserInput (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member DoesViewProhibitUserInput : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> bool
<Extension()>
Public Function DoesViewProhibitUserInput (options As IEditorOptions) As Boolean

Parameters

options
IEditorOptions

The set of editor options.

Returns

if true then all user input to the view is prohibited.

Remarks

The view's underlying buffer can still be modified even if this option is set.

Applies to