次の方法で共有


LabelAutomationPeer.GetClassNameCore Method

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

Gets the name of the class associated with this LabelAutomationPeer. This method is called by GetClassName().

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

Syntax

'Declaration
Protected Overrides Function GetClassNameCore As String
protected override string GetClassNameCore()

Return Value

Type: System.String
The class name.

Remarks

By default, this method returns the string "Label".

Version Information

Silverlight

Supported in: 5

Platforms

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