Język

AppSearchSchema.Builder.AddProperty(AppSearchSchema+PropertyConfig) Method

Definition

Adds a property to the schema type.

[Android.Runtime.Register("addProperty", "(Landroid/app/appsearch/AppSearchSchema$PropertyConfig;)Landroid/app/appsearch/AppSearchSchema$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.AppSearchSchema.Builder AddProperty(Android.App.AppSearch.AppSearchSchema.PropertyConfig propertyConfig);
[<Android.Runtime.Register("addProperty", "(Landroid/app/appsearch/AppSearchSchema$PropertyConfig;)Landroid/app/appsearch/AppSearchSchema$Builder;", "", ApiSince=31)>]
member this.AddProperty : Android.App.AppSearch.AppSearchSchema.PropertyConfig -> Android.App.AppSearch.AppSearchSchema.Builder

Parameters

propertyConfig
AppSearchSchema.PropertyConfig

The property configuration to add; its name must not already occur in this builder.

Returns

This builder instance.

Attributes

Remarks

Adds a property to the schema type.

Android reference for android.app.appsearch.AppSearchSchema.Builder.addProperty.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to