Share via


Resumo de declarações e constantes (Visual Basic)

Visual Basic language keywords and run-time library members are organized by purpose and use.

Ação

Language element

Assign a value.

Get, Property

Declare variables or constants.

Const, Dim, Private, Protected, Public, Shadows, Shared, Static

Declare a class, delegate, enumeration, module, namespace, or structure.

Class, Delegate, Enum, Module, Namespace, Structure

Create objects.

CreateObject, GetObject, Novo

Get information about an object.

GetType, IsArray, IsDate, IsDBNull, IsError, IsNothing, IsNumeric, IsReference, SystemTypeName, TypeName, VarType, VbTypeName

Refer to the current object.

Me

Require explicit variable declarations.

Option Explicit, Option Strict

Handle events.

AddHandler, Event, RaiseEvent, RemoveHandler

Implement inheritance.

Inherits, MustInherit, MustOverride, MyBase, MyClass, New, NotInheritable, NotOverridable, Overloads, Overridable, Overrides

Consulte também

Referência

Membros da biblioteca de tempo de execução do Visual Basic

Palavras-chave comparadas em vários idiomas

Outros recursos

Palavras-chave (Visual Basic)