optional parameter
可选参数:在编程中
常用释义
英式发音
美式发音
基本释义
- 可选参数:在编程中,表示函数或方法可以接受的额外参数,但这些参数不是必须的。
例句
-
1·This is an optional parameter.这是可选的参数。
-
2·The colid is an optional parameter.colid是可选的参数。
-
3·The next optional parameter is called content.下一个可选参数叫做content。
-
4·The parameter array must be the only optional parameter.参数数组必须是唯一的可选参数。
-
5·An optional parameter used to display the parameters for this command.一个可选参数,用于显示此命令的参数。
-
6·The parameter is an optional parameter that some commands may require.parameter是一些命令可能需要的可选参数。
-
7·All the required parameters must precede every optional parameter.所有必要的参数都必须位在每个选择性参数之前。
-
8·You must always supply a default value for each optional parameter.您永远都必须为每一个选择性参数提供预设值。
-
9·The value given to an optional parameter if no argument is provided.默认值:如果不对可选参数进行赋值的话,该参数会用默认设置的值。
-
10·Finally, the last optional parameter is another generic data object for headers.最后一个可选参数是另一个用于头部的一般数据对象。