编译器使用变数的初始设定式,在编译时期判断变数的型别以产生早期系结程序码。
The compiler USES a variable's initializer to determine the variable's type at compile time to produce early-bound code.
更容易进行重构和修改程序码,因为您不必变更整个程序码中的静态型别宣告。
Easier refactoring and code modifications, because you do not have to change static type declarations throughout the code.
会影响这项决定的因素包括对于限制特定型别存取其他型别的需求、组态、安全性,以及当不再需要程序码时将它卸载的能力。
Factors influencing this decision include requirements for restricting a particular type's access to other types, configuration, security, and the ability to unload code when it is no longer needed.
分析工具资料的比较基准可以是程式码中的函式、应用程式中的模组、程式行、指定指标 (IP)以及型别。
Comparisons of profiler data can be based on the functions in the code, modules in the application, lines, instruction pointers (IPs), and types.
开发人员可能会想要将处理特定型别事件的程序码写在某一个位置。
Developers may want to be able to write code in one place that handles events of a certain type.
型别名称是由编译器产生,而且在来源程式码层级中无法使用。
The type name is generated by the compiler and is not available at the source code level.
在这些情况下,因为编译器和执行阶段提供了强式型别检查,程序码将会变得更强固。
In these cases, the code will be more robust because of the strong type checking that is provided by the compiler and runtime.
更确切地说,若您定义的型别资讯(和它们的相依性)与程序码一起储存为中继资料,会使元件复写和移除的工作变得简单许多。
Instead, information about the types you define (and their dependencies) is stored with the code as metadata, making the tasks of component replication and removal much less complicated.
在[类别设计工具]中,您可以从类别图表移除型别图案而不会影响型别底下的程序码。
In class Designer, you can remove a type shape from the class diagram without affecting the type's underlying code.
列举型别可使程序码更清楚、更容易读取,特别是使用有意义的名称时。
Enumerations make for clearer and more readable code, particularly when meaningful names are used.
请注意,呼叫程序码未指定第一个参数,因为它代表要套用运算子的型别,而且编译器已知道物件的型别。
Note that the first parameter is not specified by calling code because it represents the type on which the operator is being applied, and the compiler already knows the type of your object.
标记在程序码建构(例如:型别与型别成员)上处理。
Tags are processed on code constructs such as types and type members.
它可让呼叫程式码在每次呼叫程序时,根据需求调整资料型别。
This allows the calling code to tailor the data types to its requirements each time it calls the procedure.
一般的规则是,能够参数化的型别越多,程序码的弹性和可重复使用性就会越高。
As a rule, the more types you can parameterize, the more flexible and reusable your code becomes.
您也可以产生新的型别和成员,而不需要离开程式码中目前的位置。
You can generate new types and members without leaving your current location in code.
与指令码型别字型一起实作时,这个功能可以使用一组随机选择的图像 (外观上略有不同),模拟手写笔法。
When implemented with script-type fonts, this feature can simulate handwriting by using of a set of randomly chosen glyphs with slight differences in appearance.
代表原始程序码档中所定义型别的图案就会出现在图表上您拖曳档案所至的位置。
Shapes representing the types defined in the source code file appear on the diagram at the position where you dragged the file.
型别宣告可包含本程式码。
取得列举值,定义程序码项目的型别。
Gets an enumeration value that defines the type of code element.
启始指令码是以索引键和型别唯一识别的。
A startup script is uniquely identified by its key and its type.
泛型程序可以在一般参数清单、传回型别(如果有的话)和程序程序码中使用自己的型别参数。
A generic procedure can use its type parameters in its normal parameter list, in its return type if it has one, and in its procedure code.
为函式明确地宣告传回型别,可增进程序码的可读性,因为函式传回的资料型别会变得清楚易懂。
Declaring a return type explicitly for a function improves code readability, since the type of data that the function will return is immediately clear.
定义泛型类别的优点是只要定义一次,程序码就可以用它来建立许多使用各种资料型别的物件。
The advantage of defining a generic class is that you define it just once, and your code can use it to create many objects that use a wide variety of data types.
传回目前已编译之工作流程的程式码型别宣告。
Returns the code type declaration for the workflow that is currently being compiled.
指定不同的型别包含此型别的程序码合约。
Specifies that a separate type contains the code contracts for this type.
这些组件已经注册在与原始型别程序库相同的登录机码之下。
These assemblies are already registered under the same registry key as the original type library.
这些组件已经注册在与原始型别程序库相同的登录机码之下。
These assemblies are already registered under the same registry key as the original type library.
应用推荐