AutomationPeer.GetClassNameCore AutomationPeer.GetClassNameCore AutomationPeer.GetClassNameCore AutomationPeer.GetClassNameCore Method

Definition

Provides the peer's behavior when a Microsoft UI Automation client calls GetClassName or an equivalent Microsoft UI Automation client API.

protected : virtual Platform::String GetClassNameCore()
virtual winrt::hstring GetClassNameCore() const;
protected virtual string GetClassNameCore()
Protected Overridable Function GetClassNameCore() As string
Returns
string string

The class name.

Remarks

You should never invoke the base behavior, and all custom peers should override GetClassNameCore to report the class name that is unique to that peer class. For more info, see Custom automation peers.

See Also