IExcludedContentManagerCreate Method |
Namespace: EdaIntegrationContract.NearDuplicate
IExcludedContentItem Create( string phrase )
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"); // Create an excluded content item string phrase = "This e-mail may contain information that is privileged or confidential."; IExcludedContentItem item = edaCase.NearDuplicates.Properties.ExcludedContent.Create(phrase); Console.WriteLine("Id: {0}", item.Id); Console.WriteLine("Phrase: {0}", item.Phrase); } } /* This example produces the following results: Id: 1 Phrase: This e-mail may contain information that is privileged or confidential. */