LanguageService::OnCloseSource Method (Source^)

 

Called to close the specified Source object.

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

public:
virtual void OnCloseSource(
	Source^ source
)

Parameters

source
Type: Microsoft.VisualStudio.Package::Source^

[in] The Source object to be closed.

If you need to do anything special before a Source object is closed then you need to derive a class from the LanguageService class and implement this method. Be sure to call the base class version of this method after you have completed your specific closing tasks.

The base method removes the specified Source object from the internal list and calls Close on the object.

Return to top
Show: