AccessibleObject.Help AccessibleObject.Help AccessibleObject.Help AccessibleObject.Help Property

定义

获取对象用途或如何使用对象的说明。Gets a description of what the object does or how the object is used.

public:
 virtual property System::String ^ Help { System::String ^ get(); };
public virtual string Help { get; }
member this.Help : string
Public Overridable ReadOnly Property Help As String

属性值

String,包含对象用途或如何使用对象的说明。A String that contains the description of what the object does or how the object is used. 如果没有定义帮助,则返回 nullReturns null if no help is defined.

异常

无法检索控件的帮助字符串。The help string for the control cannot be retrieved.

继承者说明

并非所有对象都需要支持该属性。Not all objects need to support this property. 通常,此属性包含用于描述对象的用途或用法的工具提示样式信息。Typically, this property contains ToolTip style information that is used either to describe what the object does or how to use it. 例如,显示打印机的工具栏按钮的 Help 属性可以是 "打印当前文档"。For example, the Help property for a toolbar button that shows a printer might be "Prints the current document." @No__t 的属性的文本在用户界面中不必是唯一的。The text for the Help property does not have to be unique within the user interface. 如果其他属性提供了与对象目的有关的信息以及该对象可能执行的操作,则服务器不需要支持 Help 属性。Servers do not need to support the Help property if other properties provide sufficient information about the object's purpose and what actions the object might perform.

适用于

另请参阅