Compartilhar via


Atributos (Visual Basic)

Visual Basic provides several attributes that allow objects interoperate with unmanaged code, and one attribute that enables module members to be accessed without the module name. A tabela a seguir lista os atributos usados pelo Visual Basic.

ComClassAttribute

Instrui o compilador para adicionar metadados que permite que uma classe ser exposto como umobjetodo COM.

HideModuleNameAttribute

Permite que os membros do módulo a ser acessado usando a qualificação necessária para o módulo.

VBFixedArrayAttribute

Indicates that an array in a structure or non-local variable should be treated as a fixed-length array.

VBFixedStringAttribute

Indicates that a string should be treated as if it were fixed length.

Consulte também

Referência

Atributos (C# e Visual Basic)