the pattern should be a static member in the class.
则模式应是类中的静态成员。
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.
如果你需要简单的分配一个静态成员,那么可以使用初始化器语法。
Since a static member does not need objects, is it the same for any object?
由于静态成员不需要的对象,这是任何对象一样吗?
Realizing the access of (class?)static member function to class non-static member.
实现了让类的静态成员函数访问类中非静态成员。
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.
这是最有可能丢失的支票为公共静态成员多线程访问。
Or, a nonstatic member function was called from outside the class as a static function.
或是,非静态的成员函式被当做静态函式从类别外呼叫。
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.
无论对一个类创建多少个实例,它的静态成员都只有一个副本。
An assignment operator shall be implemented by a non-static member function with exactly one parameter.
赋值操作符应该实现为带一个参数的非静态成员函数。
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.
如果您想为一个类的所有实例维持一个变量的实例,将会用到静态类成员变量。
Which function is used to initialize the static class member?
它的功能是用来初始化静态类成员?
应用推荐