C# 2.0 Fields

PowerDesigner models C# fields as standard UML attributes.

For information about creating and working with attributes, see Attributes (OOM).

Field Properties

C# Field property sheets contain all the standard attribute tabs along with the C# tab, 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).

New

Specifies the new modifier for the field declaration.

Unsafe

Specifies the unsafe modifier for the field declaration.

Const

Specifies the const modifier for the field declaration.

Readonly

Specifies the readonly modifier for the field declaration.