IMultipleViewProvider 接口

定义

公开一些方法和属性,UI 自动化客户端可以通过这些方法和属性访问提供同一组信息或子控件的多种表示方式(并能够在这些表示方式之间切换)的控件。Exposes methods and properties to support UI Automation client access to controls that provide, and are able to switch between, multiple representations of the same set of information or child controls.

public interface class IMultipleViewProvider
public interface IMultipleViewProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("6278cab1-b556-4a1a-b4e0-418acc523201")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IMultipleViewProvider
type IMultipleViewProvider = interface
Public Interface IMultipleViewProvider
派生
属性

注解

在必须支持MultipleViewPattern控件模式的 UI 自动化提供程序上实现。Implemented on a UI Automation provider that must support the MultipleViewPattern control pattern.

属性

CurrentView

获取当前的特定于控件的视图。Gets the current control-specific view.

方法

GetSupportedViews()

检索特定于控件的视图标识符的集合。Retrieves a collection of control-specific view identifiers.

GetViewName(Int32)

检索特定于控件的视图的名称。Retrieves the name of a control-specific view.

SetCurrentView(Int32)

设置当前的特定于控件的视图。Sets the current control-specific view.

适用于

另请参阅