# CodesCol Collection The CodesCol collection contains SiteCafe codes. Members Table The following table lists the members provided by the CodesCol collection.
Members
Properties | Description
Count | Contains the number of codes.
Methods | Description
Item | Returns one item of the collection.
Remarks This object is returned by the Codes.GetCodes or CodeGroup.GetCodes method. Use the CodesCol collection to receive information about a code. Examples The following example displays the name of the first code.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    codes = SiteCafe.Server.Codes.GetCodes(1, 10);
    alert(codes.Item(1).Name);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top