Visual Basic Conventions

Return to Introduction  Previous page  Next page

Enterprise Architect supports the round trip engineering of Visual Basic 5 and 6, where the following conventions are used.  Visual Basic .Net is supported as a different language.

Stereotypes

Stereotype

Applies to

Corresponds To

with events

Attribute

The WithEvents keyword.

global

Attribute

The Global keyword.

property get

Operation

A property get.

property set

Operation

A property set.

property let

Operation

A property let.

import

Operation

An operation to be imported from another library.

Tagged Values

Tag

Applies to

Corresponds To

New

Attribute

The New keyword.

attribute_name

Operation with stereotype property get, property set or property let

The name of the variable behind this property.

Lib

Operation with stereotype import

The library this import comes from.

Alias

Operation with stereotype import

The alias for this imported operation.

Other Conventions

·The value of in for the Kind property of a parameter corresponds to the ByVal keyword
·The value of inout or out for the Kind property of a parameter corresponds to the ByRef keyword.

See Also