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
'宣言
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.