# GetCodes Method The GetCodes method returns a range of codes of this group. Syntax
    [obj=] CodeGroup.GetCodes(start, maxCount)
Parameters
start | Long value that specifies the start code.
maxCount | Long value that specifies the maximum number of codes.
Return Value Returns a CodesCol collection containing the specified codes. Remarks None. Examples The following example displays the name of the first code group's first code.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    codeGroup = SiteCafe.Server.Codes.GetCodeGroupByIndex(1);
    codes = codeGroup.GetCodes(1, 10);
    alert(codes.Item(1).Name);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top