Our assembly is now using the overloaded method and the suitable parameter.
现在我们的组件使用重载的方法和合适的参数。
Overloads hide the method they overload if the overloaded method is in a base class.
过载隐藏方法他们超载重载基类方法。
To specify a particular method from overloaded methods, use the method-params element.
要指定重载方法中的特定方法,请使用method-params 元素。
A specific method-name corresponds all methods of that name, including any overloaded methods.
特定的method - name与该名称的所有方法对应,包括任何重载方法。
When overloaded methods are exposed to COM clients, only the first method overload retains its name.
在向COM客户端公开重载的方法时,只有第一个方法重载保留其名称。
The client function for this overloaded method includes a specified control, argument, client script, and context.
此重载方法的客户端函数包含指定的控件、参数、客户端脚本和上下文。
This version of the overloaded method allows you to specify whether values are tested using a culture-neutral format.
此版本的重载方法允许您指定是否使用非特定区域性格式测试值。
This version of the overloaded method allows you to specify whether values are converted using a culture-neutral format.
此版本的重载方法允许您指定是否使用非特定区域性格式转换值。
Using the instruction editor, let's update the ComputeAndDisplay method body by calling the overloaded method MessageBox.
使用指令编辑器,让我们更新的ComputeAndDisplay方法体调用重载方法MessageBox。
This version of the overloaded method tests currency, double, and date values using the format used by the current culture.
这个版本的多载方法使用目前文化特性所使用的格式来测试货币值、双精度浮点数值和日期值。
An expression that is calling an overloaded method or property does not find an exact match to the types of arguments that are passed.
正在调用重载方法或属性的表达式找不到与传递的参数类型完全匹配的参数。
The following example shows a method that USES default parameters, and the overloaded methods that provide an equivalent functionality.
下列范例显示使用预设参数的方法,以及提供对等功能的方法多载。
The client function for this overloaded method includes a specified target, argument, client script, context, error handler, and Boolean value.
这个多载方法的用户端函式包含指定的目标、引数、用户端指令码、内容、错误处理常式和布林值。
Ambiguous overloading is a problem because method arguments may be of mixin type, allowing for situations in which two overloaded methods are applicable and neither is more specific.
不明确的重载是个问题,因为方法参数可能是mixin类型,它允许两个已重载的方法可用并且这两个方法都不是比较特定的情况。
Overloading is when you make multiple versions of a function. The compiler figures out which function to call. Overloading does not take return type to differentiate overloaded method.
实现了一个函数的多个版本,编译器决定何时调用哪个函数。函数的返回值不作为区分重载函数的依据。
C.When a method is overloaded and one of the methods calls another.
c当方法是重载的,并且其中一个调用了另外一个的时候。
Notice in Listing 4 the way the overloaded code has inferred the method names and parameters from the invocation code as follows
在清单4 中,注意重载的代码是如何根据调用代码来推断方法名和参数的
Write a couple of tests, as in Listing 16, to verify that the new overloaded add method behaves as expected.
编写两个测试,如清单16所示,检验新的重载后的add方法是否如期望的那样运行。
The permit method has a variety of overloaded forms (as we'll discuss when we look at the ACL class).
permit方法有多种重载形式(正如我们了解acl类时所讨论的)。
For example, if I have a method called draw (String STR), an overloaded version can have the following form: draw (String STR, int I).
例如,如果有一个名为draw (Stringstr)的方法,那么重载的方法可以有以下形式:draw (String str,inti)。
The ACL's permit method is heavily overloaded for convenience; its main form is.
ACL的permit方法为方便使用提供了大量重载;其主要形式为。
Now that you are convinced that the simple overridden add() method works, the next step is to implement the overloaded add() method that takes an index as well as an element, as shown in Listing 15
现在,您已经确信这个简单的重写过的add()方法可以正常工作,下一步是实现重载的 add() 方法,可以获取索引以及元素,如清单15 所示
You'll note that the reference to service was previously defined in Listing 2 and its put method is overloaded to work with both single instances and Lists.
您会注意到,对service的引用之前在清单2中定义过,并且它的put方法被超载,以同时处理单个实例和Lists。
The AddService method is overloaded to create services the first time they are queried.
AddService方法被重载,以便在第一次查询服务时创建相应的服务。
The invoke method is overloaded.
invoke方法已被重载。
These methods are almost always overloaded with an int/TimeUnit pair, indicating how long the method should wait before bailing out and returning control to the program.
这些方法几乎总是包含一个int/TimeUnit 对,指示这些方法应该等待多长时间才释放控制权并将其返回给程序。
Method is overloaded to find both strings of text as well as specific characters within the text of the control.
方法被重载,可以同时查找控件文本内的文本字符串以及特定字符。
Using overloaded functions cuts down on method dispatching, which is one of the reasons other programming styles can result in slow code.
重载可以减少方法调度,后者正是其他编程风格所产生的代码效率不高的原因。
In this way, the calculation result can be achieved by simpler method with avoiding complicated and overloaded calculation and analysis of dynamic force.
明确了有效系数的动、静力分析方法上的差异,避免了动力分析计算的复杂和繁琐,用简便的方法给出了可信的计算结果。
This method has several overloaded versions.
这个方法拥有数种多载版本。
应用推荐