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 a binding for automatic fill in of custom field values.

Comments

Depending on the specified binding mode, to determine additional parameters, cast 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