Share via


IValueProvider Antarmuka

Definisi

Mengekspos metode dan properti untuk mendukung akses klien Automation UI ke kontrol yang memiliki nilai intrinsik yang tidak mencakup rentang dan yang dapat direpresentasikan sebagai string.

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
Turunan
Atribut

Keterangan

Nilai kontrol mungkin atau mungkin tidak dapat diedit tergantung pada kontrol dan pengaturannya.

Diimplementasikan pada penyedia Automation UI yang harus mendukung ValuePattern pola kontrol.

Properti

IsReadOnly

Mendapatkan nilai yang menentukan apakah nilai kontrol bersifat baca-saja.

Value

Mendapatkan nilai kontrol.

Metode

SetValue(String)

Mengatur nilai kontrol.

Berlaku untuk

Lihat juga