IVsDataEnvironment::Dispose Method ()

 

Provides a method for implementers to execute code before the interface is released.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int Dispose()

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implementers can use the Dispose method to perform any actions required before the interface is released. Note that the Dispose method does not release the interface—the client must explicitly call Release to release the interface.

Return to top
Show: