IValueProvider 介面

定義

公開方法與屬性,以支援控制項的使用者介面自動化用戶端存取,這些控制項具有未擴展範圍且可表示為字串的內建值。

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

屬性

IsReadOnly

取得值,指定控制項的值是否為唯讀。

Value

取得控制項的值。

方法

SetValue(String)

設定控制項的值。

適用於

另請參閱