Hi,
I am trying to get the list of tags that are associated with a ST, that is associated to a connector.
I found an API that gets the tag from the connector:
EA.Collection tagCollection = connector.TaggedValues;
but trying to run over them with simple loop:
for(short i = 0;i< tagCollection.Count; i++)
{
EA.TaggedValue tag = (EA.TaggedValue)tagCollection.GetAt(i);
tagName = tag.Name;
}
I get exception that casting cannot be done, and can not do this conversion.
Can someone tell me how can I overcome it? or other way to get the tags of the connector?
Thanks