Kaspersky Security Center Automation  10.0
HRESULT IKlAkCollection::SetAt ( [in] long  nID,
[in] VARIANT *  pVal 
)

Access element by index.

Returns specified element.

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


See JScript sample below.

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