EditorFactory.Close Method

Releases all service provides and sets the package object to a null reference (Nothing in Visual Basic).

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣言
Public Overridable Function Close As Integer
'使用
Dim instance As EditorFactory
Dim returnValue As Integer

returnValue = instance.Close()
public virtual int Close()
public:
virtual int Close()
public function Close() : int

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsEditorFactory.Close()

Permissions

See Also

Reference

EditorFactory Class

EditorFactory Members

Microsoft.VisualStudio.Package Namespace

Close