ITagManagerDelete Method |
Namespace: EdaIntegrationContract.Tagging
void Delete( IEnumerable<int> idsToDelete )
using EdaIntegrationContract; using EdaIntegrationContract.Case; using EdaIntegrationContract.Tagging; class Sample { static void Main() { var edaIntegration = new EdaIntegration().ConnectToExplore(); ICase edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); // Create a tag ITag tag = edaCase.Tags.Create("Privileged"); Console.WriteLine("Id: {0}", tag.Id); Console.WriteLine("Name: {0}",tag.Name); // Delete the tag List<int> itemsToDelete = new List<int> { tag.Id }; edaCase.Tags.Delete(itemsToDelete); Console.WriteLine("Tag deleted"); } } /* This example produces the following results: Id: 1 Name: Privileged Tag deleted */