ISolrImportFieldBindings.AddBinding

Fore Syntax

AddBinding(Type: SolrFieldBindingType; Field: ISolrField): ISolrImportFieldBinding;

Fore.NET Syntax

AddBinding(Type: Prognoz.Platform.Interop.BISearch.SolrFieldBindingType; Field: Prognoz.Platform.Interop.BISearch.ISolrField): Prognoz.Platform.Interop.BISearch.ISolrImportFieldBinding;

Parameters

Type. Custom field binding type.

Field. Custom field.

Description

The AddBinding method creates binding for automatic fill of the custom field values.

Comments

Depending on the specified binding mode, to determine additional parameters lead method execution result to one of the following interfaces:

Example

The example of use is given in description of the ISolrImportAttributeFieldBinding.Dimension, ISolrImportFieldToFieldBinding.SourceField, ISolrImportDocumentExtensionBinding.Element properties.

See also:

ISolrImportFieldBindings