KitchenDraw SDK 2
Show / Hide Table of Contents

Method TryGetSupplierOfCurrentSiteFromIdentifier

TryGetSupplierOfCurrentSiteFromIdentifier(string, out Supplier)

Finds a supplier with matching identifier in the list of the suppliers registered in the KitchenDraw software for the site to which the current user belongs.

Declaration
public bool TryGetSupplierOfCurrentSiteFromIdentifier(string identifier, out Appli.Supplier matchingSupplier)
Parameters
Type Name Description
string identifier

The identifier of a supplier to find.

Appli.Supplier matchingSupplier

When the method completes, this parameter holds first matching supplier, or null if no supplier had a match.

Returns
Type Description
bool

true if a supplier was found, false otherwise.

In this article
Back to top Generated by DocFX