Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Keyboard::Finalize Method ()

 

Releases unmanaged resources and performs other cleanup operations before this Keyboard instance is reclaimed by garbage collection.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

protected:
virtual void Finalize() override

The Finalize method calls the Dispose method of the Keyboard class to clean up resources. Because the Dispose method calls the T:System.GC.SuppressFinalize method, the Finalize method is called only when the inherited class instance fails to call Dispose.

Return to top
Show: