How to add and access custom tags in slide (C# .NET)

Hi,

in a previous version, I could get the Tags for a shape via a property like in Powerpoint.

But with version ‘19.3.0.0’ the property ‘Tag’ is not available any more.
How can I get and set Tags now ?

Kind regars,
Guido

@Nachti,

I have observed your requirements and like to share that tags can be added on slides level. You may please try using following sample code. Moreover, can you please elaborate your requirements related to shapes as well.

public static void addTags()
{
    Presentation pres = new Presentation();
    pres.Slides[0].CustomData.Tags.Add("tag1", "tag val");
    String tagv = pres.Slides[0].CustomData.Tags["tag1"];
}