1. Stylelabs.M.Sdk.Models.Base.PropertyDefinitions

Class PropertyDefinitionBase

A base class for all property definitions.

Inheritance

object

MemberDefinitionBase

PropertyDefinitionBase

BooleanPropertyDefinition

DateTimeOffsetPropertyDefinition

DateTimePropertyDefinition

DecimalPropertyDefinition

IntegerPropertyDefinition

JsonPropertyDefinition

LongPropertyDefinition

StringPropertyDefinition

Implements

IPropertyDefinition

IMemberDefinition

Inherited Members

MemberDefinitionBase.Name

MemberDefinitionBase.Labels

MemberDefinitionBase.HelpText

MemberDefinitionBase.IsConditional

MemberDefinitionBase.Conditions

MemberDefinitionBase.IsSystemOwned

MemberDefinitionBase.IsSecured

MemberDefinitionBase.AllowUpdates

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBasePropertyDefinitions

Assembly: Stylelabs.M.Sdk.dll

Syntax

public abstract class PropertyDefinitionBase : MemberDefinitionBase, IPropertyDefinition, IMemberDefinition

Properties

Boost

Gets or sets a value indicating whether the content of this property is boosted when searched for via index querying (Elasticsearch powered).

Declaration

public bool Boost { get; set; }

Property Value

TypeDescription
bool

DataType

Gets the DataType of the value for this property.

Declaration

public abstract Type DataType { get; }

Property Value

TypeDescription
Type

DefinitionType

Gets type of the member.

Declaration

public override MemberDefinitionType DefinitionType { get; }

Property Value

TypeDescription
MemberDefinitionType

Overrides

MemberDefinitionBase.DefinitionType

IncludedInCompletion

Gets or sets a value indicating whether the property value is included in the collection of words used for auto-complete functionality in Sitecore Content Hub web portal.

Declaration

public bool IncludedInCompletion { get; set; }

Property Value

TypeDescription
bool

IncludedInContent

Gets or sets a value indicating whether the property value is included in the full text search content of the Elasticsearch document.

Declaration

public bool IncludedInContent { get; set; }

Property Value

TypeDescription
bool

Indexed

Gets or sets a value indicating whether the property value is indexed and thus searchable via the basic querying API. Search for value with indexed querying will always work. Note that this value should be set only if required and with good understanding of potential consequences.

Declaration

public bool Indexed { get; set; }

Property Value

TypeDescription
bool

IsMandatory

Gets or sets a value indicating whether the property is required to be set.

Declaration

public bool IsMandatory { get; set; }

Property Value

TypeDescription
bool

IsMultiLanguage

Gets or sets a value indicating whether the property is culture sensitive or not.

Declaration

public bool IsMultiLanguage { get; set; }

Property Value

TypeDescription
bool

IsMultiValue

Gets or sets a value indicating whether the value is an array.

Declaration

public bool IsMultiValue { get; set; }

Property Value

TypeDescription
bool

IsUnique

Gets or sets a value indicating whether the value of the property is unique among all the property values of this property definition and entity definition.

Declaration

public bool IsUnique { get; set; }

Property Value

TypeDescription
bool

Implements

IPropertyDefinition

IMemberDefinition

If you have suggestions for improving this article, let us know!