Programming

Object Programming

Element

Description

AddHandler statement

Dynamically binds an event handler to an event

AddressOf operator

Creates a procedure delegate instance that references a particular procedure

Class...End Class statement

Defines a class and its members

COMClass attribute

Allows a .NET component to be exposed as a COM object

CreateObject function

Creates a new instance of a COM (ActiveX) object

Event statement

Declares a custom event

Get statement

Defines a Property Get procedure that returns a property value to the caller

GetObject function

Returns a reference to a COM (ActiveX) object

Handles keyword

Indicates that the procedure serves as the handler for an event

Implements keyword

Indicates that a class member implements a property, function, procedure, or event of an abstract base class

Implements statement

Specifies one or more interfaces that are implemented by a class

Imports statement

Imports a namespace from a project or an assembly, making its types and their members accessible to the current project

Inherits statement

Indicates that a class is derived from a base class

Interface...End Interface statement

Defines an interface and its members

Is operator

Compares two object references for equality

Me operator

Represents the current class instance

MyBase keyword

Represents the base class from which an inherited class is derived

MyClass keyword

Represents the current class instance ...

Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.