Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / Misc Class / GetId Method
An entity item with an integer primary key.
In This Topic
    GetId Method
    In This Topic
    Gets the Id of the entity item.
    Syntax
    public static int GetId( 
       Entity item
    )

    Parameters

    item
    An entity item with an integer primary key.

    Return Value

    The integer primary key of the item, or zero if the item is null.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also