共用方式為


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

See Also

Reference

DocumentProperties Class

DocumentProperties Members

Microsoft.VisualStudio.Package Namespace