> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ClassificationResults Object (IClassificationResults Interface)

> ClassificationResults object (IClassificationResults interface) in the ABBYY FineReader Engine API — a collection of ClassificationResult items returned by classification methods, sorted by probability.

This object represents a collection of [ClassificationResult](/fine-reader/engine/api-reference/classification-related-objects/classificationresult) objects. It is returned by the classification methods and provides the list of categories with their probability estimates. The results are sorted by probability from best to worst.

* The indexing of ABBYY FineReader Engine collections starts with 0.
* The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.

## Properties

| Name                                                                                                                  | Type                                                                                                                                                                                                                                            | Description                                            |
| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| Count                                                                                                                 | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties), read-only                                                                                                                               | Stores the number of elements in the collection.       |
| [Element](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/element-property) | [ClassificationResult](/fine-reader/engine/api-reference/classification-related-objects/classificationresult), [read-only](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties) | Provides access to a single element of the collection. |

## Methods

| Name                                                                                                          | Description                                            |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| [Item](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/item-method) | Provides access to a single element of the collection. |

## Related objects

<img src="https://mintcdn.com/abbyy/6udH-pkk8zkVafYH/images/fine-reader/engine/classificationresults.gif?s=5ad2ba4131067dc884e16fc60369ef47" alt="ClassificationResults" width="151" height="62" data-path="images/fine-reader/engine/classificationresults.gif" />[](/fine-reader/engine/api-reference/classification-related-objects/classificationresult)

[Object Diagram](/fine-reader/engine/api-reference/object-diagram)

## Output parameter

This object is the output parameter of the [Classify](/fine-reader/engine/api-reference/classification-related-objects/model/classify-method) method of the [Model](/fine-reader/engine/api-reference/classification-related-objects/model) object.

## Samples

This object is used in the [Classification](/fine-reader/engine/guided-tour/samples#classification) demo tool in Windows and the [Classification](/fine-reader/engine/guided-tour/samples#classification_unix) code sample in Linux and macOS.

## See also

[Working with Collections](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-collections)
