语言

IVirtualizedItemProvider 接口

定义

公开支持虚拟化项控件模式的方法。

public interface class IVirtualizedItemProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("cb98b665-2d35-4fac-ad35-f3c60d0c0b8b")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVirtualizedItemProvider
public interface IVirtualizedItemProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("cb98b665-2d35-4fac-ad35-f3c60d0c0b8b")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVirtualizedItemProvider = interface
type IVirtualizedItemProvider = interface
Public Interface IVirtualizedItemProvider
派生
特性

注解

Realize 方法使虚拟项作为UI 自动化元素完全可访问。 虚拟化项通常是虚拟列表中的项;也就是说,不管理自己的数据的列表。 当应用程序使用 FindItemByProperty 该方法检索虚拟化项的自动化元素时,提供程序可能会返回实现接口的 IVirtualizedItemProvider 占位符元素。 Realize 方法的实现返回完整的UI 自动化元素引用。

方法

名称 说明
Realize()

使虚拟项作为 UI 自动化元素完全可访问。

适用于