从写下来到设计再到实施指导,每一步都有可能产生极大的变数,因此,把你经常做的不同类别的工作进行一个规划是很有帮助的。
This will vary dramatically from writing to design to coaching, so having a map of the different types of work you do regularly is helpful.
您可以从资源检视内的对话方块编辑器,或者从类别检视加入成员变数。
You can add a member variable from the Dialog editor in Resource View, or from Class View.
当透过指向相同执行个体的其他变数来存取时,您对类别成员值所作的变更会影响这些成员。
Changes you make to the values of class members affect those members when accessed through another variable pointing to the same instance.
如果您使用这个变数将参考传回类别的执行个体,则执行绪共用执行绪可以修改执行个体的成员,并当做传回值使用。
If you use this variable to pass a reference to an instance of a class, the members of the instance can be modified by the thread-pool thread and used as return values.
编译器会将参考解析为变数的基底类别版本。
The compiler resolves the reference to the base class version of the variable.
另一个可能会让您想要隐藏继承的变数的原因是,这样可以保护基底类别免于遭到修订。
Another reason you might want to hide an inherited variable is to protect against base class revision.
若要保留此物件的参照,请在您实作方案事件处理常式的类别中宣告私用变数。
To retain a reference to this object, declare a private variable in the class in which you implement the solution event handlers.
任何程序项目,例如变数、类别或成员,可以和限制的关键字具有相同的名称。
Any program element - such as a variable, class, or member - can have the same name as a restricted keyword.
每一个图示代表不同种类的符号,就例如命名空间、类别、函式或变数。
Each icon represents a different kind of symbol, for example, a namespace, a class, a function, or a variable.
例如,某个图层中的类别会宣告在另一个图层中具有类别的变数。
For example, a class in one layer declares a variable that has a class in another layer.
确定要隐藏的变数是在类别内,而且是在类别层级(即在任何程序以外)宣告。
Be sure the variable you want to hide is declared in a class, and at class level (outside any procedure).
由于没有执行个体变数,您要使用类别名称本身存取静态类别的成员。
Because there is no instance variable, you access the members of a static class by using the class name itself.
多个执行个体:物件变数在不同时间可有不同的指派类别执行个体,而且数个物件变数可同时参考同样的类别执行个体。
Multiple instances. An object variable can have different class instances assigned to it at different times, and several object variables can refer to the same class instance at the same time.
当衍生类别中的程序码参考变数名称时,编译器就会解析对变数的参考。
When code in the derived class refers to the variable name, the compiler resolves the reference to your variable.
只要在其中定义静态变数的类别或模组存在,静态变数就会继续存在。
A static variable continues to exist for the lifetime of the class or module that it is defined in.
在私用类别的定义中、在公用类别之私用方法上的定义中,以及在区域变数中使用的功能不用遵循CLS规则。
The features you use in the definitions of your private classes, in the definitions of private methods on public classes, and in local variables do not have to follow the CLS rules.
类别中的变数栏位与全域或函式变数类似,但它只能在类别范围中作用,而且可以具有控制可视性与用法的不同属性。
A variable field in a class is similar to a global or function variable, except that it is scoped to the class and it can have various attributes governing its visibility and usage.
在以下范例中,资料型别从衍生类别转换为其基底类别,但转换后两变数所指向的物件并未变更。
In the following example, the data type is converted from the derived class to its base class, but the object that both variables now point to is unchanged.
在以下范例中,资料型别从衍生类别转换为其基底类别,但转换后两变数所指向的物件并未变更。
In the following example, the data type is converted from the derived class to its base class, but the object that both variables now point to is unchanged.
应用推荐