Hope all you are doing good ! ! !
I am writing a C# code where I am creating an element hierarchy in PI AF using AF SDK.
however I want to create an attributes and want to set it's value type using SDK.
how can i achieve this ?
Take a look at the documentation here on setting the type of an attribute's value.
Also, you can set the type as shown here:
attribute.Type = typeof(bool);
Retrieving data ...