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
'Dichiarazione
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.