DocumentProperties.Close Method
Closes down the DocumentProperties object so that its properties are no longer visible in the Properties window.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
声明
Public Sub Close
用法
Dim instance As DocumentProperties
instance.Close()
public void Close()
public:
void Close()
member Close : unit -> unit
public function Close()
Remarks
This method removes the DocumentProperties object from tracking and removes all of its properties from the Properties window. After this method is called, the DocumentProperties object cannot be used to show properties ever again (a new instance of the DocumentProperties class must be created to have the properties appear in the Properties window).
.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.