只包含静态成员。
Do static members enter objects?
静态成员输入的对象吗?
It cannot contain static members.
它不能包含静态成员。
Enclosing type parameters in static members.
静态成员中的封闭类型参数。
This is true for both static members and instance members.
对于静态成员和实例成员来说,都是正确的。
Static members and methods cannot be re-defined in subclasses.
静态成员不能在子类中被重新定义。
It is generally used in classes that contain static members only.
它通常用在只包含静态成员的类中。
Static members exists with the defining Class not with any object.
静态成员的类定义存在不与任何对象。
Therefore, they should be declared as static members of the class.
因此,应该将它们声明为此类的静态成员。
Enclosing type parameters should not be referred to inside static members.
不应在静态成员中引用封闭类型参数。
Oh man, this is getting tiring: Static members are NOT implemented in object.
哦,这是让人疲惫:静态成员不实施对象。
As I alluded to earlier, the CLR does not support the inheritance of static members.
我在前面已经提到过,CLR不支持静态成员的继承。
You also cannot derive from Static1, or add any non-static members to the class.
您也不能从Static1派生,或者向该类添加任何非静态成员。
Is it poor design to declare a class abstract because it only has static members?
它是糟糕设计声明一个抽象类,因为它只有静态成员?。
Static members must be initialized in a definition outside the class declaration.
静态成员必须在类声明外的定义中进行初始化。
To demonstrate static members, consider a class that represents a company employee.
为了说明静态成员,请看一个表示公司雇员的类。
Another important addition to PHP V5 is support for static members and methods on classes.
PHPV 5中的另一个重要的新功能是支持对类使用静态成员和方法。
When would you use a class with static members and when would you use a Singleton class?
什么时候使用带有静态成员的类,什么时候使用单例?
However, static members cannot see any instance variables unless they define that instance.
然而,静态成员不能看到任何实例变量,除非它们定义实例。
The following utility methods are public static members of the com.ibm.wac.AccessibleUtils class.
下列实用程序方法是com .ibm . wac . AccessibleUtils类的publicstatic成员。
PHP V5.3 has added several features to enhance the support for static members and methods within a class.
PHPV5.3提供一些特性来增强对类的静态成员和方法的支持。
It is called automatically before the first instance is created or any static members are referenced.
在建立第一个执行个体或参考任何静态成员之前,会自动呼叫静态建构函式。
In init , I add the texture coordinates that are defined as the class's static members to the VertexBuffer.
在init中,向VertexBuffer增加了定义为类的静态成员的纹理坐标。
You can only access static members with a reference to the class rather than a reference to an instance.
您只能用类别的参考而不是执行个体的参考来存取静态成员。
You can then store these Settings in static members of the class, making the value available to subsequent messages.
然后,您可以将这些设置保存在类的静态成员中,以便后续的消息可以使用其值。
Use P/Invoke to wrap the API functions, constants, and structure definitions as static members of a managed class.
使用P /调用的API函数,常量和结构的定义为静态成员的管理类。
Note though, at the expense of repeating myself, that static members are associated with the Class, not the object.
需要注意的是,在重复自己的费用,静态成员与类关联的对象,不。
Using reflection techniques on static members of a type differs slightly from reflecting on instance members of an object.
在类型的静态成员上使用反射技术与在对象的实例成员上进行反射有一点小小的差别。
It is more typical to declare a non-static class with some static members, than to declare an entire class as static.
比起将整个类别宣告为静态,以一些静态成员宣告非静态类别是较典型的方法。
Static initializers and static constructors provide the cleanest, clearest way to initialize static members of your class.
静态初始化器和静态构造函数提供了最洁净的、最间接的方式来初始化类的静态成员。
应用推荐