| IExcludedContentManagerUpdate Method |
Updates the system with any changed values for the excluded content item.
Namespace:
EdaIntegrationContract.NearDuplicate
Assembly:
EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
Syntax Exceptions Exception | Condition |
---|
EdaApiException | Thrown if an excluded content item cannot be found with the a matching Id. |
Examples
This example demonstrates changing an excluded content item.
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");
string phrase = "This e-mail may contain information that is privileged or confidential.";
IExcludedContentItem item = edaCase.NearDuplicates.Properties.ExcludedContent.Create(phrase);
Console.WriteLine("Before");
Console.WriteLine("({0}): {1}", item.Id, item.Phrase);
item.Phrase = "This e-mail contains information that is privileged or confidential.";
edaCase.NearDuplicates.Properties.ExcludedContent.Update(item);
Console.WriteLine("After");
Console.WriteLine("({0}): {1}", item.Id, item.Phrase);
}
}
See Also