Language

AppSearchSchema.StringPropertyConfig.Builder.SetDeletePropagationType メソッド

定義

このドキュメントと、このプロパティが保持する修飾 ID を持つ参照先ドキュメントとの間で削除を伝達する方法を構成します。

[Android.Runtime.Register("setDeletePropagationType", "(I)Landroid/app/appsearch/AppSearchSchema$StringPropertyConfig$Builder;", "", ApiSince=37)]
public Android.App.AppSearch.AppSearchSchema.StringPropertyConfig.Builder SetDeletePropagationType(Android.App.AppSearch.AppSearchSchemaDeletePropagationType deletePropagationType);
[<Android.Runtime.Register("setDeletePropagationType", "(I)Landroid/app/appsearch/AppSearchSchema$StringPropertyConfig$Builder;", "", ApiSince=37)>]
member this.SetDeletePropagationType : Android.App.AppSearch.AppSearchSchemaDeletePropagationType -> Android.App.AppSearch.AppSearchSchema.StringPropertyConfig.Builder

パラメーター

deletePropagationType
AppSearchSchemaDeletePropagationType

値は次のいずれかです: AppSearchSchema.StringPropertyConfig.DELETE_PROPAGATION_TYPE_NONE;AppSearchSchema.StringPropertyConfig.DELETE_PROPAGATION_TYPE_PROPAGATE_FROM

返品

属性

注釈

このドキュメントと、このプロパティが保持する修飾 ID を持つ参照先ドキュメントとの間で削除を伝達する方法を構成します。

このメソッドが呼び出されない場合、既定の削除伝達の種類はStringPropertyConfig.DELETE_PROPAGATION_TYPE_NONEされ、このドキュメントと参照先ドキュメントの間で削除が反映されないことを示します。

削除伝達の種類がStringPropertyConfig.DELETE_PROPAGATION_TYPE_NONEされていない場合は、削除の反映で修飾 ID を使用する必要があるため、StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_IDも設定する必要があります。それ以外の場合は、ビルド時に IllegalStateException をスローします。

android.app.appsearch.AppSearchSchema.StringPropertyConfig.Builder.setDeletePropagationTypeの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象