共用方式為


AutomationPeer.GetItemStatus Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets text that conveys the visual status of the object that is associated with this automation peer.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Function GetItemStatus As String
public string GetItemStatus()

Return Value

Type: System.String
The item status.

Remarks

Status conveys information that is state-based and not adequately conveyed by a name or class name to the user at run time. For example, the status of a messenger contact might be "Busy" or "Online".

This implementation does nothing more than calling GetItemStatusCore.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.