共用方式為


GridViewAutomationPeer.IViewAutomationPeer.GetAutomationControlType 方法

定義

取得與此 GridViewAutomationPeer 相關聯之項目的控制項類型。

 virtual System::Windows::Automation::Peers::AutomationControlType System.Windows.Automation.Peers.IViewAutomationPeer.GetAutomationControlType() = System::Windows::Automation::Peers::IViewAutomationPeer::GetAutomationControlType;
System.Windows.Automation.Peers.AutomationControlType IViewAutomationPeer.GetAutomationControlType ();
abstract member System.Windows.Automation.Peers.IViewAutomationPeer.GetAutomationControlType : unit -> System.Windows.Automation.Peers.AutomationControlType
override this.System.Windows.Automation.Peers.IViewAutomationPeer.GetAutomationControlType : unit -> System.Windows.Automation.Peers.AutomationControlType
Function GetAutomationControlType () As AutomationControlType Implements IViewAutomationPeer.GetAutomationControlType

傳回

AutomationControlType

列舉中的值。

實作

備註

這個成員是明確介面成員實作, 只有在 GridViewAutomationPeer 執行個體轉換成 IViewAutomationPeer 介面時,才能使用這個成員。

適用於