Kaspersky Security Center Automation
10.0
|
import "klakaut.idl";
Public Member Functions |
|
HRESULT | SetSize ([in] long nNewSize) |
HRESULT | Clone ([out, retval] IKlAkCollection **ppResult) |
HRESULT | SetAt ([in] long nID,[in] VARIANT *pVal) |
Properties |
|
VARIANT |
Item ([in] long nID) [get, set] |
long |
Count [get] |
KlAkObjType |
Type [get] |
Array-like collection.
IKlAkCollection is an array of
elements. Supports enumerating (See JScript sample
below).
var oArray = new ActiveXObject("klakaut.KlAkCollection");
oArray.SetSize(5); oArray.SetAt(0, 10); oArray.SetAt(1, 12454); oArray.SetAt(2, "ejkwsakl"); oArray.SetAt(3, null);
var enumObj = new Enumerator(oArray);
for (;!enumObj.atEnd();enumObj.moveNext()) { var oObj = enumObj.item(); // ... };