ISolrImportFieldBindings.AddBinding

Syntax

AddBinding(Type: SolrFieldBindingType; Field: ISolrField): 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