WinpmGlobalgetTenants Method
Retrieves all tenants and places in a System.Windows.Controls.ListBox
Optionally sorts the list
Namespace: MbcsCentral.WinPMAssembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
public static void getTenants(
ref ListBox lst,
short orderBy = 0
)
Parameters
- lst ListBox
- ListBox to populate
- orderBy Int16 (Optional)
- Order list by (see remarks)
orderBy:
(0) Tenant name
(1) Building/Tenant numbers
(2) Building/Apartment