Visual Basic Conventions Stereotypes Stereotype
Applies to
Corresponds To
with events global property get property set property let import
Attribute Attribute Operation Operation Operation Operation
The WithEvents keyword. The Global keyword. A property get. A property set. A property let. An operation to be imported from another library.
Tagged values Tag
Applies to
Corresponds To
New attribute_name
Attribute Operation with stereotype "property get", "property set" or "property let" Operation with stereotype "import" Operation with stereotype "import"
The New keyword. The name of the variable behind this property. The library this import comes from. The alias for this imported operation.
Lib Alias
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.
VB.Net Conventions Stereotypes Stereotype
Applies to
Corresponds To
module
Class
A module.
import
Operation
An operation to be imported from another library.
property
Operation
A property possibly containing both read and write code.
event
Operation
An event declaration.
operator
Operation
An operator overload definition.
Tagged values Tag
Applies to
Corresponds To
partial
Class, Interface
The Partial keyword.
shadows
Class, Interface, Operation
The Shadows keyword.
Shared
Attribute
The Shared keyword.
delegate
Operation
The Delegate keyword.
Overloads
Operation
The Overloads keyword.
Overrides
Operation
The Overrides keyword.
NotOverrideable
Operation
The NotOverrideable keyword.
MustOverride
Operation
The MustOverride keyword.
Implements
Operation
The implements clause on this operation.
Handles
Operation
The handles clause on this operation.
Lib
Operation with stereotype "import"
The library this import comes from.
Alias
Operation with stereotype "import"
The alias for this imported operation.
Charset
Operation with stereotype "import"
Corresponds to the character set clause for this import. One of the values Ansi, Unicode or Auto.
attribute_name
Operation with stereotype "property"
The name of the variable behind this property.
readonly
Operation with stereotype "property"
This property only defining read code.
writeonly
Operation with stereotype "property"
This property only defining write code.
Narrowing
Operation with stereotype "operator"
The Narrowing keyword
Widening
Operation with stereotype "operator"
The Widening keyword
parameterArray
Parameter
A parameter list using the ParamArray keyword.
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