Linguaggio

PropertyPath.PathSegment.Create Metodo

Definizione

Overload

Nome Descrizione
Create(String)

Metodo di creazione che accetta e convalida un nome di proprietà. L'indice della proprietà è impostato su NON_REPEATED_CARDINALITY.

Create(String, Int32)

Metodo di creazione che accetta e convalida sia un nome di proprietà che l'indice nella proprietà .

Create(String)

Metodo di creazione che accetta e convalida un nome di proprietà. L'indice della proprietà è impostato su NON_REPEATED_CARDINALITY.

[Android.Runtime.Register("create", "(Ljava/lang/String;)Landroid/app/appsearch/PropertyPath$PathSegment;", "", ApiSince=34)]
public static Android.App.AppSearch.PropertyPath.PathSegment Create(string propertyName);
[<Android.Runtime.Register("create", "(Ljava/lang/String;)Landroid/app/appsearch/PropertyPath$PathSegment;", "", ApiSince=34)>]
static member Create : string -> Android.App.AppSearch.PropertyPath.PathSegment

Parametri

propertyName
String

nome della proprietà. Questo valore non può essere Null.

Valori restituiti

Nuovo PathSegment. Questo valore non può essere Null.

Attributi

Commenti

Metodo di creazione che accetta e convalida un nome di proprietà. L'indice della proprietà è impostato su NON_REPEATED_CARDINALITY.

Informazioni di riferimento su Android per android.app.appsearch.PropertyPath.PathSegment.create.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

Create(String, Int32)

Metodo di creazione che accetta e convalida sia un nome di proprietà che l'indice nella proprietà .

[Android.Runtime.Register("create", "(Ljava/lang/String;I)Landroid/app/appsearch/PropertyPath$PathSegment;", "", ApiSince=34)]
public static Android.App.AppSearch.PropertyPath.PathSegment Create(string propertyName, int propertyIndex);
[<Android.Runtime.Register("create", "(Ljava/lang/String;I)Landroid/app/appsearch/PropertyPath$PathSegment;", "", ApiSince=34)>]
static member Create : string * int -> Android.App.AppSearch.PropertyPath.PathSegment

Parametri

propertyName
String

nome della proprietà. Questo valore non può essere Null.

propertyIndex
Int32

indice nella proprietà

Valori restituiti

Nuovo PathSegment. Questo valore non può essere Null.

Attributi

Commenti

Metodo di creazione che accetta e convalida sia un nome di proprietà che l'indice nella proprietà . Il nome della proprietà potrebbe non essere vuoto. Può anche non contenere parentesi quadre o punti, perché sono caratteri di controllo nei percorsi delle proprietà. L'indice nella proprietà potrebbe non essere negativo, a meno che non sia NON_REPEATED_CARDINALITY, in quanto si tratta di indici di matrice non validi.

Informazioni di riferimento su Android per android.app.appsearch.PropertyPath.PathSegment.create.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a