ValueExtensions Methods

The ValueExtensions type exposes the following members.

Methods

 

Name

Description

ValueExtensions Methods 1:

OrderBy

Sorts the Values of a sequence according to the specified String.
When using this method to order and assign the result to a ReadValue, also add PagingHandled to the Options of the same Command to inform the TwinCAT HMI server that sorting was handled by the TwinCAT HMI server extension and must not be handled again by the TwinCAT HMI server.

ValueExtensions Methods 2:

Where(IEnumerableValue, Value)

Filters a sequence of Values based on a Value that contains filters.
When using this method to filter and assign the result to a ReadValue, also add PagingHandled to the Options of the same Command to inform the TwinCAT HMI server that filtering was handled by the TwinCAT HMI server extension and must not be handled again by the TwinCAT HMI server.

ValueExtensions Methods 3:

Where(IEnumerableValue, Value, Boolean)

Filters a sequence of Values based on a Value that contains filters.
When using this method to filter and assign the result to a ReadValue, also add PagingHandled to the Options of the same Command to inform the TwinCAT HMI server that filtering was handled by the TwinCAT HMI server extension and must not be handled again by the TwinCAT HMI server.

Reference

ValueExtensions Class TcHmiSrv.Core.Tools.Queries.Extensions Namespace

Copyright © Beckhoff Automation GmbH & Co. KG