Megosztás a következőn keresztül:


SimpleFieldAttribute.IsKey Property

Definition

Gets or sets whether the field is the key field. The default is false. A SearchIndex must have exactly one key field of type String.

public bool IsKey { get; set; }
member this.IsKey : bool with get, set
Public Property IsKey As Boolean

Property Value

Applies to