IValueProvider 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
公開方法與屬性,支援 使用者介面自動化 客戶端存取具有非跨越範圍且可以字串表示的內在值控制項。
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 控制模式的 使用者介面自動化 供應商上。
屬性
| 名稱 | Description |
|---|---|
| IsReadOnly |
會得到一個值,指定控制項值是否為唯讀。 |
| Value |
他懂得控制的價值。 |
方法
| 名稱 | Description |
|---|---|
| SetValue(String) |
設定控制值。 |