Click or drag to resize

DataArrayT Class

A data array.
Inheritance Hierarchy

Namespace: Demo3D.PLC.Comms
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public sealed class DataArray<T> : ObservableCollection<T>, 
	IListExt, IList, ICollection, IEnumerable, IConvertible

Type Parameters

T
The array element type.

The DataArrayT type exposes the following members.

Constructors
 NameDescription
Public methodDataArrayT Contructs an empty array.
Public methodDataArrayT(Int64) Constructs an array of specified length.
Top
Methods
 NameDescription
Public methodBinarySearch Searches the entire sorted list for the specified value using the specified comparer.
Public methodStatic memberCreateInstance(Int32) Creates an array of the specified lengths.
Public methodStatic memberCreateInstance(Int32) Creates an array of the specified lengths.
Public methodStatic memberCreateInstance(Int32, Int32) Creates an array of the specified lengths.
Public methodStatic memberCreateInstance(Int32, Int32, Int32) Creates an array of the specified lengths.
Public methodReverse Reverse the order of the elements in the list.
Public methodSet(Int32, IListT) Sets elements in the array, expanding the array if necessary.
Public methodSet(Int32, IList) Sets elements in the array, expanding the array if necessary.
Public methodSet(Int32, IListT, Int32, Int32) Sets elements in the array, expanding the array if necessary.
Public methodSet(Int32, IList, Int32, Int32) Sets elements in the array, expanding the array if necessary.
Public methodSort Sort the elements in the list using the default comparer.
Public methodSort(ComparisonT) Sort the elements in the list using the specified comparison.
Public methodSort(IComparerT) Sort the elements in the list using the specified comparer.
Public methodToArray Copies the elements to a new array.
Top
Events
 NameDescription
Public eventItemsChanged Occurs when item values change. Only raised for SetItem or Set operations for elements added or replaced.
Public eventItemValuesChanged Occurs when item values change. Only raised for SetItem or Set operations for elements added or replaced.
Top
See Also