Using a static member through an instance variable should be discouraged.
不鼓励通过实例变量来使用静态成员。
Always provide a static constructor when providing static member variables.
当提供静态成员变量时,总是提供一个静态构造函数。
If you simply need to allocate a static member, use the initializer syntax.
如果你需要简单的分配一个静态成员,那么可以使用初始化器语法。
If the Static member is a mutable variable, then you can certainly change it's value.
如果静态成员是一个变量,然后你可以改变它的值。
It's most likely a missing check for multi thread access of the public static member.
这是最有可能丢失的支票为公共静态成员多线程访问。
This member a static member and can be invoked without creating an instance of the class.
此成员是静态成员,并且可在不创建类实例的情况下调用。
This is a static member that is invoked directly without creating an instance of the class.
这是一个静态成员,在未创建类的实例的情况下直接调用。
This is a static member that is invoked directly without creating an instance of its class.
这是静态的成员,可以直接叫用而不需要建立其类别的执行个体。
When an object is created, does it receive the static member, and can that value be changed?
当一个对象被创建时,它接收的静态成员,能值被改变?
The static member is callable on a class even when no instance of the class has been created.
即使没有创建类的实例,也可以调用该类中的静态成员。
Creates a new model item that represents the value of a static member of the specified class.
建立新的模型项目,这个项目表示指定之类别的静态成员值。
Only one copy of a static member exists, regardless of how many instances of the class are created.
无论对一个类创建多少个实例,它的静态成员都只有一个副本。
When you have more complicated logic to initialize static member variables, create a static constructor.
当你有更复杂的逻辑来初始化静态成员变量时,请创建静态构造函数。
C + + Does derived class could inheritance Static data member and Static member function from Base class?
C+ +并派生类可以继承的静态数据成员,static成员函数从基类?
You know that you should initialize static member variables in a type before you create any instances of that type.
在创建一个类型的任何实例之前,应该初始化其中的静态成员变量。
If the function was intended to be a static member function, rename it so it doesn't conflict with the base class virtual function.
如果函数用作静态成员函数,则重命名该函数,以便不与基类虚函数冲突。
Static members are initialized before the static member is accessed for the first time and before the static constructor, if there is one, is called.
静态成员会在第一次受到存取前,以及静态建构函式(如果有)受到呼叫之前进行初始化。
The second parameter of the delegate's constructor takes either the address of a member function or the address of a static member function of any class.
委派建构函式的第二个参数接受任何类别的成员函式或静态成员函式的位址。
In addition, Visual Basic.net allows you to touch a static member through an instance of a type, even a derived type, as you can see in the code in Figure 12.
另外,Visual Basic . NET允许您通过类型的实例、甚至派生类型的实例来触及静态成员,如图12中的代码所示。
And it's especially ugly if you want to use member functions as the event handlers, as opposed to static extern functions.
相对于静态外部函数来说,用成员函数作为事件处理器是最丑陋的做法。
Improved static method and member handling.
改进静态方法和成员处理。
It is recommended that all serializable classes contain a private static data member named serialVersionUID, of type long.
建议让所有可序列化的类都包含类型为long、名为serialversionuid的私有静态数据成员。
I've made the number a member variable within the Classifier2 class, which allows me to avoid passing it around as a parameter to a bunch of static methods.
我把数字变成是Classifier 2类中的成员变量,这将允许我避免将其作为参数传递给一大堆静态方法。
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 static analysis of member call is defined as determining the type of member function pointer or reference in compiling stage.
在面向对象程序设计中,成员调用的静态分析是指在编译阶段确定调用成员函数指针或引用的类型。
C - Static array of structs with string member not properly initialised?
C-静态的结构体数组与字符串不正确初始化的成员吗?
This thesis analyzed static behavior of plate polyhedron frame structures. The distribution rule of member internal forces was found by comparing with plate grid structures.
本文分析研究了平板型多面体刚架结构的静力性能,通过与普通平板网架比较得到这种新结构杆件内力的分布规律。
A managed class cannot have a static constructor that also has a member initialization list.
托管类中不能有本身有成员初始化列表的静态构造函数。
The Modifier class provides static methods and constants to decode class and member access modifiers.
Modifier类提供了静态方法和常量来对类和成员访问修饰符进行编码。
If you declare a static data member within a class definition as dllexport , a definition must occur somewhere within the same program (as with nonclass external linkage).
你必须在同一个程序中定义所有此类成员,否则会产生一个链接错误。
应用推荐