To | Do this | Example |
---|---|---|
Declare a variable | Use the Dim keyword, along with the desired data type. | Dim MyInt As Integer |
Modify the accessibility of a variable or procedure | Use the Public, Private,Friend, or Protected keywords. | Public Sub MySub() End Sub |
Use structured exception handling | Create a Try…Catch…Finally block. | |
Inherit from a base class | Use the Inherits keyword. | Class Dog Inherits Animal End Class |