ExcludedContentManagerCreate Method |
Namespace: Law.EdaIntegration.NearDuplicate
public ExcludedContentItem Create( string phrase )
using Law.EdaIntegration; using Law.EdaIntegration.Case; using Law.EdaIntegration.NearDuplicate; class Sample { public static void Main() { string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword"; EdaIntegration edaIntegration = new EdaIntegration(); edaIntegration.InitializeEnvironment(connectionString); Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); // Create an excluded content item string phrase = "This e-mail may contain information that is privileged or confidential."; ExcludedContentItem 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. */