AutomationPeer.GetClassNameCore Method
Definition
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.
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() = GetClassNameCore;
winrt::hstring GetClassNameCore();
protected virtual string GetClassNameCore();
function getClassNameCore()
Protected Overridable Function GetClassNameCore () As String
Returns
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.