Kaspersky Security Center Automation  10.0
Public Member Functions | Properties
IKlAkCollection Interface Reference

import "klakaut.idl";

Inheritance diagram for IKlAkCollection:
Inheritance graph
[legend]

List of all members.

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]

Detailed Description

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();
	//  ...
};