Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
VB.Net Conventions
Enterprise Architect supports round-trip engineering of Visual Basic.Net, where the following conventions are used. Earlier versions of Visual Basic are supported as a different language.
Stereotypes
Stereotype |
Applies To |
Corresponds To |
event |
Operation |
An event declaration. |
import |
Operation |
An operation to be imported from another library. |
module |
Class |
A module. |
operator |
Operation |
An operator overload definition. |
partial |
Operation |
The partial keyword on an operation. |
property |
Operation |
A property possibly containing both read and write code. |
Tagged Values
Tag |
Applies To |
Corresponds To |
Alias |
Operation with stereotype import |
The alias for this imported operation. |
attribute_name |
Operation with stereotype property |
The name of the variable behind this property. |
Charset |
Operation with stereotype import |
The character set clause for this import. One of the values Ansi, Unicode or Auto. |
delegate |
Operation |
The Delegate keyword. |
enumTag |
Operation with stereotype property |
The datatype that this property is represented as. |
Handles |
Operation |
The handles clause on this operation. |
Implements |
Operation |
The implements clause on this operation. |
Lib |
Operation with stereotype import |
The library this import comes from. |
MustOverride |
Operation |
The MustOverride keyword. |
Narrowing |
Operation with stereotype operator |
The Narrowing keyword. |
NotOverrideable |
Operation |
The NotOverrideable keyword. |
Overloads |
Operation |
The Overloads keyword. |
Overrides |
Operation |
The Overrides keyword. |
parameterArray |
Parameter |
A parameter list using the ParamArray keyword. |
partial |
Class, Interface |
The Partial keyword. |
readonly |
Operation with stereotype property |
This property only defining read code. |
shadows |
Class, Interface, Operation |
The Shadows keyword. |
Shared |
Attribute |
The Shared keyword. |
Widening |
Operation with stereotype operator |
The Widening keyword. |
writeonly |
Operation with stereotype property |
This property only defining write code. |
Other Conventions
- Namespaces are generated for each package below a namespace root
- The Is Leaf property of a Class corresponds to the NotInheritable keyword
- The Abstract property of a Class corresponds to the MustInherit keyword
- The Static property of an attribute or operation corresponds to the Shared keyword
- The Abstract property of an operation corresponds to the MustOverride keyword
- 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