GridViewAutomationPeer.IGridProvider.GetItem(Int32, Int32) 方法

定义

返回指定单元格的 UI 自动化提供程序。Returns the UI Automation provider for the specified cell.

 virtual System::Windows::Automation::Provider::IRawElementProviderSimple ^ System.Windows.Automation.Provider.IGridProvider.GetItem(int row, int column) = System::Windows::Automation::Provider::IGridProvider::GetItem;
System.Windows.Automation.Provider.IRawElementProviderSimple IGridProvider.GetItem (int row, int column);
abstract member System.Windows.Automation.Provider.IGridProvider.GetItem : int * int -> System.Windows.Automation.Provider.IRawElementProviderSimple
override this.System.Windows.Automation.Provider.IGridProvider.GetItem : int * int -> System.Windows.Automation.Provider.IRawElementProviderSimple
Function GetItem (row As Integer, column As Integer) As IRawElementProviderSimple Implements IGridProvider.GetItem

参数

row
Int32

相关行的序号。The ordinal number of the row of interest.

column
Int32

相关列的序号。The ordinal number of the column of interest.

返回

IRawElementProviderSimple

指定单元格的 UI 自动化提供程序。The UI Automation provider for the specified cell.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 GridViewAutomationPeer 实例被强制转换为 IGridProvider 接口时使用。It can be used only when the GridViewAutomationPeer instance is cast to an IGridProvider interface.

适用于