PageableListTSetReadOnly Method

Spotfire 14.3 API Reference
Calling this method will turn the list into a read-only collection. Any attempt to change the content after this call will throw an exception.

Namespace:  Spotfire.Dxp.Data.Collections
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public PageableList<T> SetReadOnly()

Return Value

Type: PageableListT
Remarks

Iteration performance will be better for a read-only list compared to a writable list.

This method is O(1).

Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference