Show / Hide Table of Contents

Class SelectionLastUsageHelper

Helper class for Selections of all kinds, to save tracking information about loading, changes and member counts

Inheritance
Object
SelectionLastUsageHelper
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public static class SelectionLastUsageHelper

Methods

IncrementMemberCount(Int32, Int32)

Update the membership count information; only call if you have actually read the selection to the bottom or otherwise know the true count

Declaration
public static void IncrementMemberCount(int selectionId, int increment)
Parameters
Type Name Description
Int32 selectionId

0 means 'no updates'

Int32 increment

Change to member count; can be negative to record removal of members

UpdateLastLoaded(Int32)

Update the last-loaded information

Declaration
public static void UpdateLastLoaded(int selectionId)
Parameters
Type Name Description
Int32 selectionId

0 means 'no updates'

UpdateLastMembershipChange(Int32)

Update the last-changed information

Declaration
public static void UpdateLastMembershipChange(int selectionId)
Parameters
Type Name Description
Int32 selectionId

0 means 'no updates'

UpdateTotalMemberCount(Int32, Int32)

Update the membership count information; only call if you have actually read the selection to the bottom or otherwise know the true count

Declaration
public static void UpdateTotalMemberCount(int selectionId, int totalMemberCount)
Parameters
Type Name Description
Int32 selectionId

0 means 'no updates'

Int32 totalMemberCount

New total member count, -1 means 'no change'

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top