• If we had added a getValue method to class Leaf, we would either have to return some sort of flag value indicating that the method application is non-sensical or actually throw an exception.

    如果我们已经向Leaf类添加了getValue方法,我们要么是不得不返回一些类型的标志值表明此方法应用是无意义的,要么是实际抛出一个异常。

    youdao

  • The getValue(s) methods are simple utilities similar to the getSelection() method in Listing 7.

    getValue(s)方法是类似于清单 7中的 getSelection()方法的简单实用程序。

    youdao

  • Note that you need to cast the return type -- getValue returns an object of type Object.

    注意:您需要强制转换返回类型 ―getValue返回一个Object 类型的对象。

    youdao

  • Finally, I use GetProperty to get information about a specified property of the control and then get the value of the control property using the GetValue method.

    最后使用GetProperty获取控件的指定属性的信息,并使用GetValue方法获取控件属性值。

    youdao

  • GetValue requires an indexed object argument because properties can be indexed (for example if I was trying to get an Items property of a listbox control).

    GetValue需要一个索引对象参数,因为属性可被索引(例如,当我试图获取Listbox控件的Items属性时)。

    youdao

  • GetValue requires an indexed object argument because properties can be indexed (for example if I was trying to get an Items property of a listbox control).

    GetValue需要一个索引对象参数,因为属性可被索引(例如,当我试图获取Listbox控件的Items属性时)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定