IVirtualizedItemProvider 介面

定義

將方法公開,以支援虛擬項目的控制項模式。Exposes a method to support the virtualized item control pattern.

public interface class 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)]
public interface IVirtualizedItemProvider
type IVirtualizedItemProvider = interface
[<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
Public Interface IVirtualizedItemProvider
衍生
屬性

備註

Realize方法會讓虛擬專案以消費者介面自動化專案的形式完整存取。The Realize method makes a virtual item fully accessible as a UI Automation element. 虛擬化專案通常是虛擬清單中的專案;亦即,不會管理本身資料的清單。A virtualized item is typically an item in a virtual list; that is, a list that does not manage its own data. 當應用程式使用方法來抓取虛擬化專案的 automation 專案時 FindItemByProperty ,提供者可能會傳回實作為介面的預留位置元素 IVirtualizedItemProviderWhen an application retrieves an automation element for a virtualized item by using the FindItemByProperty method, the provider may return a placeholder element that implements the IVirtualizedItemProvider interface. 方法的實會傳回 Realize 完整消費者介面自動化專案參考。The implementation of the Realize method returns a full UI Automation element reference.

方法

Realize()

允許將虛擬項目當做使用者介面自動化項目完整存取。Makes the virtual item fully accessible as a UI Automation element.

適用於