FrameworkElementAutomationPeer.GetAutomationIdCore Metoda

Definicja

Pobiera ciąg, który jednoznacznie identyfikuje FrameworkElement element skojarzony z tym FrameworkElementAutomationPeerelementem . Wywoływane przez GetAutomationId().

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

Zwraca

Identyfikator automatyzacji elementu skojarzonego z elementem FrameworkElementAutomationPeerlub Empty jeśli nie ma identyfikatora automatyzacji.

Uwagi

Wartość identyfikatora automatyzacji jest właściwością AutomationId , a jeśli tak nie jest ustawiona, jest Name to właściwość.

Dotyczy

Zobacz też