Compartilhar via


ITextView.Close Method

Closes the text view host and its view.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.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

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace