Field, Event, and Property Properties

Visual Basic 2005 field, event, and property property sheets contain all the standard attribute tabs along with the VB, the properties of which are listed below:

Property

Description

Compilation Unit

Specifies the compilation unit in which the field will be stored. This field is only available if the parent type is a partial type (allocated to more than one compilation unit).

As New

Specifies that the attribute is created by new object instance.

Shadowing

Specifies the form of shadowing. You can choose between:


  • Shadows

  • Overloads

  • Overrides

Default

[properties only] Specifies whether the property is a default.

Overriding

[properties only] Specifies the form of overriding available. You can choose between:


  • Overridable

  • NotOverridable

  • MustOverride

Property Parameters

[properties only] Specifies the parameters of the property.