Skip to content

Commit fc44ef9

Browse files
nxtnRon Petrusha
andauthored
Apply suggestions from code review
Co-Authored-By: Ron Petrusha <ronpet@microsoft.com>
1 parent 69a0a00 commit fc44ef9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/framework/winforms/controls/controls-to-use-on-windows-forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ The following is an alphabetic list of controls and components that can be used
225225
Provides links to step-by-step topics, recommendations for which kind of control to create, and other information about creating your own control.
226226

227227
[Controls and Programmable Objects Compared in Various Languages and Libraries](https://docs.microsoft.com/previous-versions/visualstudio/visual-studio-2010/0061wezk(v=vs.100))
228-
Provides a table that maps controls in Visual Basic 6.0 to the corresponding control in Visual Basic 2005. Note that controls are now classes in the .NET Framework.
228+
Provides a table that maps controls in Visual Basic 6.0 to the corresponding control in Visual Basic .NET. Note that controls are now classes in the .NET Framework.
229229

230230
[How to: Add ActiveX Controls to Windows Forms](how-to-add-activex-controls-to-windows-forms.md)
231231
Describes how to use ActiveX controls on Windows Forms.

docs/visual-basic/programming-guide/language-features/objects-and-classes/object-lifetime-how-objects-are-created-and-destroyed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ An instance of a class, an object, is created by using the `New` keyword. Initia
5454
5555
The `Finalize` destructor is a protected method that can be called only from the class it belongs to, or from derived classes. The system calls `Finalize` automatically when an object is destroyed, so you should not explicitly call `Finalize` from outside of a derived class's `Finalize` implementation.
5656

57-
Unlike `Class_Terminate`, which executes as soon as an object is set to nothing, there is usually a delay between when an object loses scope and when Visual Basic calls the `Finalize` destructor. Visual Basic 2005 and later versions allow for a second kind of destructor, <xref:System.IDisposable.Dispose%2A>, which can be explicitly called at any time to immediately release resources.
57+
Unlike `Class_Terminate`, which executes as soon as an object is set to nothing, there is usually a delay between when an object loses scope and when Visual Basic calls the `Finalize` destructor. Visual Basic .NET allows for a second kind of destructor, <xref:System.IDisposable.Dispose%2A?displayProperty=nameWithType>, which can be explicitly called at any time to immediately release resources.
5858

5959
> [!NOTE]
6060
> A `Finalize` destructor should not throw exceptions, because they cannot be handled by the application and can cause the application to terminate.

0 commit comments

Comments
 (0)