The class above has several member variables.
上述类有多个成员变量。
Objects have two aspects: member variables and methods.
对象有两个方面:成员变量和方法。
C + + Class Member Variables Resetting After Loop?
类成员变量循环后重置吗?
Below the member variables are the properties and the click handler.
成员变量下面是属性和单击处理程序。
The Book class is then defined, with private member variables for each field.
然后定义book类,用私有成员变量代表每个字段。
The second limitation is that member variables of structures cannot be raised.
第二个限制是结构的成员变量不能被提取。
Do not provide public event member variables. Use event accessors instead.
不要公开事件成员变量。使用事件访问器来公开。
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部分中曾经提到,标记注释没有成员变量。
While most local and member variables can be lifted, but there are restrictions.
虽然大多数本地和成员变量可以被提取,但有一些限制。
Always provide a static constructor when providing static member variables.
当提供静态成员变量时,总是提供一个静态构造函数。
Do not provide public or protected member variables. Use properties instead.
不要使用公开的或保护的类成员变量,使用属性。
In the case of member variables, a simple reference is kept to the containing object.
对于成员变量,一般而言是被保留在包含它的对象里。
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”关键字访问的结构里的成员变量才不可用。
Mapping can be done by separate XML files, or by attributes on classes, properties, and member variables.
映射可以同过分离的XML文件实现,也可以通过在类属性上添加特性来实现。
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.
所有成员变量应该定义在前面,和属性或方法间空开一行。
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。
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。
应用推荐