Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step by Step [Electronic resources]

G. Andrew Duthie

نسخه متنی -صفحه : 126/ 25
نمايش فراداده

Chapter3 Quick Reference

To

Do this

Example

Declare a variable

Use the Dim keyword, along with the desired data type.

DimMyIntAsInteger

Modify the accessibility of a variable or procedure

Use the Public, Private,Friend, or Protected keywords.

PublicSubMySub() EndSub

Use structured exception handling

Create a Try…Catch…Finally block.

Inherit from a base class

Use the Inherits keyword.

ClassDog InheritsAnimal EndClass