A constant is a constant value that is a member of a type. Constants are implicitly shared. If the declaration contains an As
clause, then the clause specifies the type of the member introduced by the declaration; if the type is omitted, the type is implicitly the type of the constant expression. The accessibility domain of the type of the constant must be the same as or a superset of the accessibility domain of the constant itself. The constant expression must yield a value of the constant's type or of a type that is implicitly convertible to the constant's type. The constant expression may not be circular; that is, a constant may not be defined in terms of itself.
When a symbolic name for a constant value is desired, but the type of the value is not permitted in a constant declaration or when the value cannot be computed at compile time by a constant expression, a ReadOnly
data member may be used instead.
Const
[ Attributes ] Identifier [ As
TypeName ] =