PageableListTSetReadOnly Method

TIBCO Spotfire 11.4 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: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference