Originale-mail to me for new edition

 

Methods

 

A method is a procedure or function associated with a class. A call to a method specifies the object (or, if it is a class method, the class) that the method should operate on. For example,

SomeObject.Free

calls the Free method in SomeObject.

 

Method declarations and implementations

Method binding

Overloading methods

Constructors

Destructors

Message methods

 

Topic groups

 

See also

About class types

Class methods

Classes and objects: Overview

Fields

Procedures and functions: Overview

Properties: Overview

Visibility of class members

 

 

译文

 

方法

 

方法就是与类相关联的过程或函数。方法调用指定了方法要作用的对象(或者,如果是一个类方法,那么指定的是类)。例如:

SomeObject.Free

上面的语句调用了对象 SomeObject 中的 Free 方法。

 

方法声明和实现

方法绑定

重载方法

构造器

析构器

消息方法

 

主题组

 

相关主题

关于类类型

类方法

类和对象:概述

过程和函数:概述

属性:概述

类成员的可见度