在阅读文档的方法时,参数的括号会意味着什么? [英] What do the brackets around the arguments mean when reading documentation for a method?

查看:135
本文介绍了在阅读文档的方法时,参数的括号会意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,当阅读关于什么参数可以传递给方法的文档时,我看到参数列表中使用的括号,如下所示:





括号中的括号意味着什么背景?为什么括号内的中的逗号?

解决方案

需要 [可选] code> < required> [<可选>,<但都需要>]



几乎总是这样。


Often when reading documentation on what arguments can be passed to a method, I see brackets used within the arguments list like this:

What do the brackets mean in this context? Why are the commas inside the brackets?

解决方案

required [optional] <required> [<optional>, <but both needed>].

This is almost always the case.

这篇关于在阅读文档的方法时,参数的括号会意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆