Table of contents
TOC
Collapse the table of content
Expand the table of content

Type.ForRecord

Owen Duncan|Last Updated: 4/19/2018

About

Returns a Record type from a fields record.

Type.ForRecord(fields as record, open as logical) as type  

Arguments

ArgumentDescription
fieldsThe record to convert.
openA logical value indicating if the returned type should be an open record.

Example

Type.ForRecord(  
[  
X = [Type = type number, Optional = false],   
Y = [Type = type number, Optional = true]], true)  
equals type [ X = number, optional Y = number,...   
]  
© 2018 Microsoft