reading xattributes with VBA

Hi,

It is possible to extract xattribute data of an element using PropertyHandler and xattribute Name

For example to extract FID xattribute:

Dim oPH As PropertyHandler

Dim elem as Element

' Read Some element from file

.........

Set oPH = CreatePropertyHandler(elem)

oPH.SelectByAccessString "FID"
Debug.Print oPH.GetDisplayString

My question is: How can I get a list of the xattributes names attached to an element (oPH.SelectByAccessString "XAttributes" returns the number of xattributes but I didn't find something like oPH.SelectByAccessString "XAttributes[0].Name" accessing Name by its id)?

Thanks

Jean-Claude Fischer

Parents Reply Children
No Data