Type.TableColumn

Syntaks

Type.TableColumn(tableType as type, column as text) as type

Omtrent

Returnerer typen af den kolonnecolumn i tabeltypen tableType.

Eksempel

Returner typen af kolonnen "Name" i tabellen Customers.

Brug

let
    Customers = #table(
        type table [ID = Int64.Type, Name = text],
        {{1, "Contoso"}, {2, "Fabrikam"}}
    )
in
    Type.TableColumn(Value.Type(Customers), "Name")

Output

type text