method Name(Index: Number): String
Available for StringList Objects. Returns the Keyname for the index number in the list.
Name method syntax has these named arguments:
Parameter |
Description |
|---|---|
Index |
Required. The index number to return the Keyname for. |
For example:
Dim StringList as Object
StringList = CreateObject("Accredo.StringList")
StringList.AddPair("A", "Alpha")
StringList.AddPair("B", "Beta")
StringList.AddPair("G", "Gamma")
StringList.AddPair("Z", "Zeta")
Print StringList(0)
will return "A", as this is the keyname for the indexnumber in the list.