Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

String

Platform::String

winrt::hstring

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.

Applies to

See also


Feedback

Was this page helpful?