C# Класс Bamboo.Prevalence.Indexing.FullText.TermOccurrenceCollection

Наследование: System.Collections.CollectionBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( IndexedField field, int position ) : void

Adds the information related to the new occurrence of the term in the field and position passed as argument. If a TermOccurrence object for the specified field is already in the collection, the new position information is simply added to the existing TermOccurrence object. Otherwise a new TermOccurrence object will be created and added to the collection.

TermOccurrenceCollection ( ) : System

Creates an empty collection.

ToString ( ) : string

Builds a readable representation of this object.

Описание методов

Add() публичный Метод

Adds the information related to the new occurrence of the term in the field and position passed as argument. If a TermOccurrence object for the specified field is already in the collection, the new position information is simply added to the existing TermOccurrence object. Otherwise a new TermOccurrence object will be created and added to the collection.
public Add ( IndexedField field, int position ) : void
field IndexedField field where the term /// was found
position int /// position in the field where the term was found
Результат void

TermOccurrenceCollection() публичный Метод

Creates an empty collection.
public TermOccurrenceCollection ( ) : System
Результат System

ToString() публичный Метод

Builds a readable representation of this object.
public ToString ( ) : string
Результат string