Επεξεργασία

Κοινή χρήση μέσω


IValueProvider Interface

Definition

Exposes methods and properties to support UI Automation client access to controls having an intrinsic value that does not span a range and that can be represented as a 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
Derived
Attributes

Remarks

The value of the control may or may not be editable depending on the control and its settings.

Implemented on a UI Automation provider that must support the ValuePattern control pattern.

Properties

IsReadOnly

Gets a value that specifies whether the value of a control is read-only.

Value

Gets the value of the control.

Methods

SetValue(String)

Sets the value of a control.

Applies to

See also