Click or drag to resize

IExcludedContentManagerAll Method

Retrieves the list of all IExcludedContentItems for a case.

Namespace:  EdaIntegrationContract.NearDuplicate
Assembly:  EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 7.6
Syntax
C#
IEnumerable<IExcludedContentItem> All()

Return Value

Type: IEnumerableIExcludedContentItem
A list of IExcludedContentItems.
Examples
The following example demonstrates retrieving a list of excluded content items for a case.
C#
using EdaIntegrationContract;
using EdaIntegrationContract.Case;
using EdaIntegrationContract.NearDuplicate;

class Sample
{
    static void Main()
    {
        var edaIntegration = new EdaIntegration().ConnectToExplore();
        ICase edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");

        foreach (IExcludedContentItem excludedItem in edaCase.NearDuplicates.Properties.ExcludedContent.All())
        {
            Console.WriteLine("Id: "   + excludedItem.Id);
            Console.WriteLine("Phrase: " + excludedItem.Phrase);
            Console.WriteLine("DateModified: " + excludedItem.DateModified);
            Console.WriteLine();
        }
    }
}
/*
This example produces the following results:

Id: 1
Phrase: Some text A
DateModified: 8/26/2014 9:40:35 AM

Id: 2
Phrase: Some text B
DateModified: 8/26/2014 9:40:35 AM
 */
See Also