Sdílet prostřednictvím


IVsDataEnvironment.Dispose Method

Definition

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

public:
 int Dispose();
public:
 int Dispose();
int Dispose();
public int Dispose ();
abstract member Dispose : unit -> int
Public Function Dispose () As Integer

Returns

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.

Applies to