IUIAutomationElement7::GetCurrentMetadataValue メソッド (uiautomationclient.h)

情報の解釈方法を示すUI オートメーション要素からメタデータを取得します。 たとえば、文字列 "1/4" は分数または日付として解釈する必要がありますか?

構文

HRESULT GetCurrentMetadataValue(
  [in]          int        targetId,
  [in]          METADATAID metadataId,
  [out, retval] VARIANT    *returnVal
);

パラメーター

[in] targetId

取得するプロパティの ID。

[in] metadataId

取得するメタデータの種類を指定します。

[out, retval] returnVal

メタデータ。

戻り値

成功した場合はS_OKを返します。それ以外の場合は HRESULT エラー コードを返します。

要件

要件
サポートされている最小のクライアント Windows 10、バージョン 1703 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2016 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー uiautomationclient.h (UIAutomation.h を含む)
[DLL] UIAutomationCore.dll

こちらもご覧ください

IUIAutomationElement7

SayAsInterpretAs