Objects have two aspects: member variables and methods.
对象有两个方面:成员变量和方法。
Below the member variables are the properties and the click handler.
成员变量下面是属性和单击处理程序。
The second limitation is that member variables of structures cannot be raised.
第二个限制是结构的成员变量不能被提取。
These elements match up to the member variables of the RestaurantDetails class.
这些元素可以与restaurantdetails类的成员变量相匹配。
As you should remember from Part 1, marker annotations have no member variables.
您应该还记得第1部分中曾经提到,标记注释没有成员变量。
Always provide a static constructor when providing static member variables.
当提供静态成员变量时,总是提供一个静态构造函数。
As you'll remember from Part 1, annotation types can have member variables (see Resources).
您一定还记得“第1部分”中曾经提到的,注释类型可以有成员变量(请参阅参考资料)。
Over time, it's easy for the member variables and the constructors to get out of synch.
随着时间的流失,成员变量和构造函数之间很容易变得不同步。
That is, in C++, objects of the same class cannot see one another's private member variables.
也就是说,在 C++ 中,同一个类的对象无法看到彼此的私有成员变量。
The other member variables Content Assist is picking up are from another class, defined later.
ContentAssist挑选出的其他成员变量来自后面定义的另一个类。
It is only the member variables within a structure accessed via the "me" keyword that cannot be used.
只有在通过“Me”关键字访问的结构里的成员变量才不可用。
When you have more complicated logic to initialize static member variables, create a static constructor.
当你有更复杂的逻辑来初始化静态成员变量时,请创建静态构造函数。
Mapping can be done by separate XML files, or by attributes on classes, properties, and member variables.
映射可以同过分离的XML文件实现,也可以通过在类属性上添加特性来实现。
Later, components and objects evolved allowing for the encapsulation of data (member variables) within them.
后来,组件盒对象发掌起来,使数据可以封装在里面。
If the expression represents a class or structure, retrieve a list of member variables, as expression objects.
如果表达式表示类或结构,则将作为表达式对象来检索成员变量列表。
Sitebricks will automatically bind the form data to the member variables, just as it would do for request parameters.
Sitebricks会自动将表单数据绑定到成员变量,正如对请求参数所做的那样。
All member variables should be declared at the top, with one line separating them from the properties or methods.
所有成员变量应该定义在前面,和属性或方法间空开一行。
You know that you should initialize static member variables in a type before you create any instances of that type.
在创建一个类型的任何实例之前,应该初始化其中的静态成员变量。
In this case, I create a new __get method, which is called whenever the client looks for member variables on the object.
在本例中,我创建了新的__get方法,只要使用者寻找对象上的成员变量时即调用此方法。
If a row is returned from the database, the UserBean is populated with non-null user name and password member variables.
如果从数据库返回了一行,则使用非空的用户名和密码成员变量来填充userbean。
It was more reliable at finding ownership relationships when the variables were declared as member variables of the class.
当类的变量被声明为类的成员变量时,找到所有权关系是更加可靠的。
Associating a Node to the left and right of each edge and setting the edge.start and edge.end member variables appropriately.
将Node与每个edge的左右端相关联,并相应地设置edge .start和edge .end成员变量。
Also, many times member variables of a class that point to other classes simply need to be set to null at the appropriate time.
此外,您常常需要在适当的时候将指向其他类的类成员变量设置为null。
Private and protected member variables are shown only in Expert Mode. Properties are not serialized or shown in the inspector.
私有和保护变量只能在专家模式中显示。属性不被序列化或显示在检视面板。
If you want to maintain a single instance of a variable for all instances of a class, you will use static-class member variables to do it.
如果您想为一个类的所有实例维持一个变量的实例,将会用到静态类成员变量。
The process starts with all of the member variables such as msgAdded, msgUser, inUser, and inText initialized to an empty string or false.
过程开始时,所有成员变量(比如 msgAdded、msgUser、inUser和inText)都被初始化为一个空字符串或 false。
In Figure 7, the only legitimate member variables are the ones that appear just above the method declaration, namely @name, @salary, and @hire_year.
在图7 中,合法的成员变量只是在上面方法声明中出现的成员变量,即 @name、@salary 和 @hire_year。
One final improvement I want to make on this dynamic class is to use member variables to access the fields, instead of the clunky get_ and set_ operators.
对这个动态类我想做的最后一个改进,是用成员变量访问字段,而不是用笨重的get _和set _操作符。
Variable initializers are the simplest way to ensure that the member variables in your type are initialized regardless of which constructor is called.
在忽略哪个构造函数被调用的情况下,为了保证类型内部的成员变量都能被初始化,使用变量初始化器是最简单的方法。
The next task is to go back to the XCode IDE and add some member variables, properties, and methods to the view controller class definition as in Listing 5.
下一个任务是回到XCodeIDE,向视图控制器类定义添加一些成员变量、属性和方法,如清单5所示。
应用推荐