This documentation is archived and is not being maintained.

13.1 Scalar Properties

Visual Studio .NET 2003

A property is scalar if its get and set methods fit the following description.

Characteristics

  • The get method has no parameters, and has return type T.
  • The set method has a single parameter of type T, and void return type.

Constraint

  • There shall be only one scalar property declared in a single scope with the same identifier. Scalar properties cannot be overloaded.
Show: