Kaspersky Security Center Automation  10.0
VARIANT IKlAkCollection::Item [get, set]

Accesses element by index.

Returns element with the specified index. Index is zero-based and must be less than IKlAkCollection.Count. Supports enumerating.

Parameters:
index of element
pVal element value
Return values:
pRetVal element value


See JScript sample below.

	var oFileds2Return = new ActiveXObject("klakaut.KlAkCollection");
	oFileds2Return.SetSize(2);
	oFileds2Return.Item(0) = "KLHST_WKS_HOSTNAME";
	oFileds2Return.Item(1) = "KLHST_WKS_DN";