Class SArrayList
- Namespace
- SWConfigDataClientLib
- Assembly
- IpPbxCDSClientLib.dll
This the base class for all configuration item collections. It provides a mechanism to handle deleted items.
public abstract class SArrayList : CollectionBase
- Inheritance
-
SArrayList
- Derived
Remarks
This class should not be used outside the the SWConfigDataClientLib.
Fields
objectDictionary
protected Dictionary<string, object> objectDictionary
Field Value
Properties
CurrentPos
CurrentPos for external use
public int CurrentPos { get; set; }
Property Value
RemovedObjects
the list of removed items for this collection
public ArrayList RemovedObjects { get; }
Property Value
Methods
ClearLocalCollection()
Clear the collection. The removed items will not be removed from database.
public void ClearLocalCollection()
OnClear()
see base class
protected override void OnClear()
OnRemoveComplete(int, object)
see base class
protected override void OnRemoveComplete(int index, object value)
Parameters
RemoveAll()
Removes all items from the collection and marks it as deleted. Use update or updateEnum to make the changes persistent.
public virtual void RemoveAll()
RemoveFromLocalCollection(object)
Removes the item from the collection. The item will not be deleted in database.
public virtual void RemoveFromLocalCollection(object entry)
Parameters
entry
objectEntry to be removed.
RemoveFromLocalCollection(object, bool)
Removes the item from the collection. The item will not be deleted in database.
public virtual void RemoveFromLocalCollection(object entry, bool bDispose)