編輯

共用方式為


ItemAutomationPeer.GetItemTypeCore Method

Definition

Gets a human-readable string that contains the type of item that the specified UIElement represents.

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

Returns

The item type. An example includes "Mail Message" or "Contact".

Remarks

The UIElement corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. This method is called by GetItemType.

Applies to

See also