Longueur
Cette propriété d'élément de collection est la longueur d'un champ donné dans la collection autECLFieldList. Length est un type de données long et est en lecture seule. L'exemple suivant illustre cette propriété.
Dim Len as Long
Dim autECLPSObj as Object
Dim autECLConnList as Object
Set autECLPSObj = CreateObject("ZIEWin.autECLPS")
Set autECLConnList = CreateObject("ZIEWin.autECLConnList")
' Initialize the connection
autECLConnList.Refresh
autECLPSObj.SetConnectionByHandle(autECLConnList(1).Handle)
' Build the list and get the number of fields
autECLPSObj.autECLFieldList.Refresh(1)
If (Not autECLPSObj.autECLFieldList.Count = 0 ) Then
Len = autECLPSObj.autECLFieldList(1).Length
Endif