AccessibleObject.Description AccessibleObject.Description AccessibleObject.Description AccessibleObject.Description Property


获取说明指定对象可视外观的字符串。Gets a string that describes the visual appearance of the specified object. 并非所有对象都有说明。Not all objects have a description.

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


用户可看到的对象外观的说明,或者,如果该对象没有说明,则是 nullA description of the object's visual appearance to the user, or null if the object does not have a description.


无法检索控件的说明。The description for the control cannot be retrieved.


此属性为用户描述对象的视觉外观。This property describes the object's visual appearance to the user.


如果对象包装系统控件, 则默认实现将返回可访问对象的说明;否则, 它将null返回。The default implementation returns the accessible object's description if the object wraps a system control; otherwise, it returns null. 描述通常用于为弱视用户或盲人用户提供更大的上下文。The description is typically used to provide greater context for low-vision or blind users. 它还可以用于上下文搜索或其他应用程序。It can also be used for context searching or other applications. 如果说明不明显, Description或基于对象的NameRoleStateValue属性, 则服务器需要支持属性。Servers need to support the Description property if the description is not obvious, or if it is redundant based on the object's Name, Role, State, and Value properties. 例如, 具有 "确定" 的按钮不需要其他信息, 但显示仙人掌图片的按钮会。For example, a button with "OK" does not need additional information, but a button that shows a picture of a cactus would. 仙人掌按钮RoleName"、 Help " 和 "可能" 属性说明了其用途, 但属性传达的信息不太明确,如"按钮显示仙人掌类照片"。DescriptionThe Name, Role, and perhaps Help properties for the cactus button describe its purpose, but the Description property conveys information that is less tangible, like "A button that shows a picture of a cactus".