Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IVendorRepository Interface / LoadForName Method
The name of the vendor to load.
In This Topic
    LoadForName Method (IVendorRepository)
    In This Topic
    Loads a vendor given the name.
    Syntax
    Vendor LoadForName( 
       string name
    )

    Parameters

    name
    The name of the vendor to load.

    Return Value

    If found, returns the vendor instance. Otherwise returns null.
    Remarks
    If more than one matching vendor is found, only the first match is returned.
    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