Share via


DocumentProperties.Close Method

Closes down the DocumentProperties object so that its properties are no longer visible in the Properties window.

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

Syntax

'Declaration
Public Sub Close
'Usage
Dim instance As DocumentProperties

instance.Close()
public void Close()
public:
void Close()
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