选项卡。 Caption 属性 (Outlook 窗体脚本)Tab.Caption Property (Outlook Forms Script)

返回或设置一个字符串, 指定在选项卡上显示的文本。可读/写。Returns or sets a String that specifies the text that appears on the tab. Read/write.

语法Syntax

表达式标题expression.Caption

_表达式_一个代表Tab对象的变量。expression A variable that represents a Tab object.

注解Remarks

对象的默认标题是基于对象类型的唯一名称。The default caption for an object is a unique name based on the type of object. 例如,"CommandButton1"是窗体中第一个命令按钮的默认标题。For example, CommandButton1 is the default caption for the first command button in a form.

如果对象的标题太长,标题将被截断。If an object's caption is too long, the caption is truncated. 如果窗体的标题相对于标题栏来说太长,标题将带省略号显示。If a form's caption is too long for the title bar, the title is displayed with an ellipsis.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.