Record.RemoveFields
Syntax
Record.RemoveFields(record as record, fields as any, optional missingField as nullable number) as record
About
Returns a record that removes all the fields specified in list fields
from the input record
. If the field specified does not exist, an exception is thrown.
Example 1
Remove the field "Price" from the record.
Usage
Record.RemoveFields([CustomerID = 1, Item = "Fishing rod", Price = 18.00], "Price")
Output
[CustomerID = 1, Item = "Fishing rod"]
Example 2
Remove the fields "Price" and "Item" from the record.
Usage
Record.RemoveFields([CustomerID = 1, Item = "Fishing rod", Price = 18.00], {"Price", "Item"})
Output
[CustomerID = 1]
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