次の方法で共有


IItemContainerProvider.FindItemByProperty メソッド

定義

指定したプロパティ値を持つ要素を取得します。

public:
 IRawElementProviderSimple ^ FindItemByProperty(IRawElementProviderSimple ^ startAfter, AutomationProperty ^ automationProperty, Platform::Object ^ value);
IRawElementProviderSimple FindItemByProperty(IRawElementProviderSimple const& startAfter, AutomationProperty const& automationProperty, IInspectable const& value);
public IRawElementProviderSimple FindItemByProperty(IRawElementProviderSimple startAfter, AutomationProperty automationProperty, object value);
function findItemByProperty(startAfter, automationProperty, value)
Public Function FindItemByProperty (startAfter As IRawElementProviderSimple, automationProperty As AutomationProperty, value As Object) As IRawElementProviderSimple

パラメーター

startAfter
IRawElementProviderSimple

検索の開始位置となるコンテナー内の項目。

automationProperty
AutomationProperty

取得する値を格納するプロパティ。

value
Object

Platform::Object

IInspectable

取得する値。

戻り値

検索条件に一致する最初の項目。それ以外の場合は null。

適用対象