Prev Next

VB.NET Conventions

Enterprise Architect supports round-trip engineering of Visual Basic.NET, where these conventions are used. Earlier versions of Visual Basic are supported as a different language.

Stereotypes

Stereotype

Applies To

See also

event

Operation

Corresponds To: An event declaration.

import

Operation

Corresponds To: An operation to be imported from another library.

module

Class

Corresponds To: A module.

operator

Operation

Corresponds To: An operator overload definition.

partial

Operation

Corresponds To: The 'partial' keyword on an operation.

property

Operation

Corresponds To: A property possibly containing both read and write code.

Tagged Values

Tag

Applies To

See also

Alias

Operation with stereotype import

Corresponds To: The alias for this imported operation.

attribute_name

Operation with stereotype property

Corresponds To: The name of the variable behind this property.

Charset

Operation with stereotype import

Corresponds To: The character set clause for this import - one of the values 'Ansi', 'Unicode' or 'Auto'.

delegate

Operation

Corresponds To: The 'delegate' keyword.

enumTag

Operation with stereotype property

Corresponds To: The datatype that this property is represented as.

Handles

Operation

Corresponds To: The 'handles' clause on this operation.

Implements

Operation

Corresponds To: The 'implements' clause on this operation.

Lib

Operation with stereotype import

Corresponds To: The library this import comes from.

MustOverride

Operation

Corresponds To: The 'MustOverride' keyword.

Narrowing

Operation with stereotype operator

Corresponds To: The 'Narrowing' keyword.

NotOverrideable

Operation

Corresponds To: The 'NotOverrideable' keyword.

Overloads

Operation

Corresponds To: The 'overloads' keyword.

Overrides

Operation

Corresponds To: The 'overrides' keyword.

parameterArray

Parameter

Corresponds To: A parameter list using the 'ParamArray' keyword.

partial

Class, Interface

Corresponds To: The 'partial' keyword.

readonly

Operation with stereotype property

Corresponds To: This property only defining 'read' code.

shadows

Class, Interface, Operation

Corresponds To: The 'Shadows' keyword.

Shared

Attribute

Corresponds To: The 'Shared' keyword.

Widening

Operation with stereotype operator

Corresponds To: The 'Widening' keyword.

writeonly

Operation with stereotype property

Corresponds To: 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

Learn more