ExecuteAppFunctionResponse.ResultDocument プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
実行された関数の戻り値を含む GenericDocument を返します。
public Android.App.AppSearch.GenericDocument ResultDocument { [Android.Runtime.Register("getResultDocument", "()Landroid/app/appsearch/GenericDocument;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getResultDocument", "()Landroid/app/appsearch/GenericDocument;", "", ApiSince=36)>]
member this.ResultDocument : Android.App.AppSearch.GenericDocument
プロパティ値
- 属性
注釈
実行された関数の戻り値を含むジェネリック ドキュメントを返します。
#PROPERTY_RETURN_VALUE キーを使用して戻り値を取得できます。
戻り値を抽出するためのサンプル コード:
GenericDocument resultDocument = response.getResultDocument();
Object returnValue = resultDocument.getProperty(PROPERTY_RETURN_VALUE);
if (returnValue != null) {
// Cast returnValue to expected type, or use {@link GenericDocument#getPropertyString},
// {@link GenericDocument#getPropertyLong} etc.
// Do something with the returnValue
}
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。