UIElement3DAutomationPeer.GetAutomationIdCore Method

Definition

Returns the string that uniquely identifies the UIElement3D that is associated with this UIElement3DAutomationPeer. This method is called by GetAutomationId().

protected:
 override System::String ^ GetAutomationIdCore();
protected override string GetAutomationIdCore ();
override this.GetAutomationIdCore : unit -> string
Protected Overrides Function GetAutomationIdCore () As String

Returns

The string that uniquely identifies the UIElement3D that is associated with this UIElement3DAutomationPeer.

Remarks

This method calls the AutomationProperties.GetAutomationId method to get the value. AutomationProperties.GetAutomationId returns a value only when the AutomationProperties.AutomationId property is set. You can override GetAutomationIdCore and add logic to provide an identifier in a way that makes sense for your UIElement3D.

UIElement3DAutomationPeer is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to