RibbonMenuButtonAutomationPeer.CreateItemAutomationPeer(Object) 메서드

정의

지정된 항목에 대해 새 RibbonMenuItemDataAutomationPeer를 만듭니다.Creates a new RibbonMenuItemDataAutomationPeer for the specified item.

protected:
 override System::Windows::Automation::Peers::ItemAutomationPeer ^ CreateItemAutomationPeer(System::Object ^ item);
protected override System.Windows.Automation.Peers.ItemAutomationPeer CreateItemAutomationPeer (object item);
override this.CreateItemAutomationPeer : obj -> System.Windows.Automation.Peers.ItemAutomationPeer
Protected Overrides Function CreateItemAutomationPeer (item As Object) As ItemAutomationPeer

매개 변수

item
Object

RibbonMenuButton에 연결된 RibbonMenuButtonAutomationPeer에 있는 개체입니다.An object that is in the RibbonMenuButton that is associated with this RibbonMenuButtonAutomationPeer.

반환

지정된 항목에 대한 RibbonMenuItemDataAutomationPeer입니다.A RibbonMenuItemDataAutomationPeer for the specified item.

적용 대상