This topic has not yet been rated - Rate this topic

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.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
public void Close()

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).

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.