संपादित करें

इसके माध्यम से साझा किया गया


IRawElementProviderSimple Interface

Definition

Provides methods and properties that expose basic information about a UI element.

public interface class IRawElementProviderSimple
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("d6dd68d1-86fd-4332-8666-9abedea2d24c")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRawElementProviderSimple
public interface IRawElementProviderSimple
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("d6dd68d1-86fd-4332-8666-9abedea2d24c")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IRawElementProviderSimple = interface
type IRawElementProviderSimple = interface
Public Interface IRawElementProviderSimple
Derived
Attributes

Remarks

This interface can be implemented on UI Automation providers for simple elements such as buttons. It can also be implemented on providers that contribute additional properties or control patterns, or override existing properties or control patterns, on an element that already has a default provider.

Providers for complex elements must implement IRawElementProviderFragment or IRawElementProviderFragmentRoot.

Properties

HostRawElementProvider

Gets a base provider for this element.

ProviderOptions

Gets a value that specifies characteristics of the UI Automation provider; for example, whether it is a client-side or server-side provider.

Methods

GetPatternProvider(Int32)

Retrieves an object that provides support for a control pattern on a UI Automation element.

GetPropertyValue(Int32)

Retrieves the value of a property supported by the UI Automation provider.

Applies to

See also