- 精华
- 0
- 帖子
- 11365
- 威望
- 0 点
- 积分
- 15620 点
- 种子
- 0 点
- 注册时间
- 2005-10-26
- 最后登录
- 2021-12-20
|

楼主 |
发表于 2012-7-15 09:19 · 上海
|
显示全部楼层
唔主要是要翻段东西给人家看,但是编程不是我的菜,小刀你大致看看我弄的有大问题么:
To use the List Members option
1. Begin typing the name of your object, and then type ALT+RIGHT ARROW to use Complete Word, which will display the members list box if what you have typed has more than one possible match or no match at all.
首先输入你的对象名,然后按ALT+右箭头调出Complete Word,从它的成员列表当中可以查看你所输入的内容是否拥有多个匹配或没有匹配。
IntelliSense displays all valid members in a scrollable list滚动列表. For example, you can scroll滚动or use the arrow keys to navigate through the list, or, if you know the first few letters of the member name, begin typing to jump directly to the member in the list.
所有有效成员都会出现在IntelliSense (智能提示)的滚动列表之中。你可以下拉或使用方向键进行浏览,假设你知道成员名称的前几个字母的话,那么将它们直接键入可迅速找到该成员。
After the name of a class or structure, type the scope operator:
在类名或结构体名之后键入域操作符:
 . (period) for an object instance.
 .(句号)表示一个对象实例
[C++]
• -> (pointer to member)for a pointer to an object instance.对象实例
• ->(成员指针)表示一个指向对象实例的指针
• :: (scope resolution operator) 范围解析操作符for a class, structure, union or namespace.
• :: (范围解析操作符)表示一个类、结构体或命名空间
1. To insert the selected member in your code, do one of the following:
以下任一方法都可将选定成员插入到你的代码之中:
 Type the character that will follow the member, such as open parenthesis, comma, space, semicolon, or others, to insert the selected member followed by the character that you have just typed. This works for any nonidentifier character.

 or-
 Press TAB, CTRL+ENTER, ENTER, or double-click to insert just the member. If no item is selected in the drop-down menu下拉式菜单, ENTER inserts a blank new line. CTRL-ENTER will insert the item that has the focus box even if it is not selected.
 按TAB, CTRL+ENTER, ENTER,或双击插入该成员。若在没有选中下拉菜单中任何对象的情况下按ENTER键,则会插入一空白行。按CTRL-ENTER则会插入一带有焦点框的对象,即使它没有被选中。
2. Press ESC at any time to close the Members list.
任意时刻按下ESC可关闭成员列表。
When you select an item from the Members list, but before you insert it, you will get Quick Info on the item and any code comments for the item. See Supplying Code Comments for more information.
To turn List Members off by default, clear Auto list members from the General property page for the desired language. See Modifying IntelliSense Options for more information.
The List Members display may be have many entries. You can go to the first element of the list or to the last element by using CTRL-Page Up and CTRL-Page Down while in the List Members display.
|
|