Record.AddField
Syntax
Record.AddField(record as record, fieldName as text, value as any, optional delayed as nullable logical) as record
About
Adds a field to a record record
, given the name of the field fieldName
and the value value
.
Example 1
Add the field Address to the record.
Usage
Record.AddField([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "Address", "123 Main St.")
Output
[CustomerID = 1, Name = "Bob", Phone = "123-4567", Address = "123 Main St."]
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho