KitchenDraw SDK 2
Show / Hide Table of Contents

Method TryGetSiteFromCode

TryGetSiteFromCode(string, out Site)

Finds a site matching the given code.

Declaration
public bool TryGetSiteFromCode(string code, out Appli.Site matchingSite)
Parameters
Type Name Description
string code

Code of the site to find.

Appli.Site matchingSite

When the method completes, this parameter contains first matched site, or null if no site has a match.

Returns
Type Description
bool

true if a matching site was found, false otherwise.

In this article
Back to top Generated by DocFX