GenericRootAutomationPeer.GetNameCore Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the text label of the UIElement that is associated with this GenericRootAutomationPeer. This method is called by GetName().
protected:
override System::String ^ GetNameCore();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override string GetNameCore ();
protected override string GetNameCore ();
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.GetNameCore : unit -> string
override this.GetNameCore : unit -> string
Protected Overrides Function GetNameCore () As String
The string that contains the label.
- Attributes
You can think of the name property as if it were a string of text that users use to explain the control they are referring to. Make certain that you have a textual representation for all controls in the graphical user interface (GUI) so that you can programmatically refer to the control in a localized manner.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: