C# 클래스 Bamboo.Prevalence.Indexing.FullText.TermOccurrenceCollection

상속: System.Collections.CollectionBase
파일 보기 프로젝트 열기: bamboo/Bamboo.Prevalence 1 사용 예제들

공개 메소드들

메소드 설명
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