If you use the GetTagList function, it will return the array of tags and that information contains some properties that can be used to get the information you want:
TagName
NumberOfBytes
ArrayElements1
ArrayElements2
ArrayElements3
NumberOfDimensions