IWpfTextViewHost.Close Method

Closes the text view host and its underlying text view.

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

Syntax

'Declaration
Sub Close
void Close()
void Close()
abstract Close : unit -> unit
function Close()

Exceptions

Exception Condition
InvalidOperationException

The text view host is already closed.

.NET Framework Security

See Also

Reference

IWpfTextViewHost Interface

Microsoft.VisualStudio.Text.Editor Namespace