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)

Syntax

‘선언
Function Dispose As Integer
‘사용 방법
Dim instance As IVsDataEnvironment
Dim returnValue As Integer

returnValue = instance.Dispose()
int Dispose()
int Dispose()
abstract Dispose : unit -> int 
function Dispose() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

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.

.NET Framework Security

See Also

Reference

IVsDataEnvironment Interface

IVsDataEnvironment Members

Microsoft.VisualStudio.Shell.Interop Namespace