语言

IValueProvider 接口

定义

公开方法和属性以支持UI 自动化客户端对具有不跨越范围且可表示为字符串的固有值的控件的访问。

public interface class IValueProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("c7935180-6fb3-4201-b174-7df73adbf64a")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IValueProvider
public interface IValueProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("c7935180-6fb3-4201-b174-7df73adbf64a")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IValueProvider = interface
type IValueProvider = interface
Public Interface IValueProvider
派生
特性

注解

控件的值可能不可编辑,具体取决于控件及其设置。

在必须支持 ValuePattern 控件模式的UI 自动化提供程序上实现。

属性

名称 说明
IsReadOnly

获取一个值,该值指定控件的值是否为只读。

Value

获取控件的值。

方法

名称 说明
SetValue(String)

设置控件的值。

适用于

另请参阅