Specifies that one or more declared member variables refer to an instance of a class that can raise events.
指定一个或多个已声明成员变量引用可引发事件的类的实例。
It was more reliable at finding ownership relationships when the variables were declared as member variables of the class.
当类的变量被声明为类的成员变量时,找到所有权关系是更加可靠的。
As you might expect, this must be the same type that you declared for the member variable.
正如您所料,默认值的类型必须与成员变量声明的类型完全相同。
应用推荐