Namespace: Consultingwerk.Util
Class 
GarbageCollectorHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:GarbageCollectorHelper
Syntax:Static methods only, private constructor to disallow
instance creation
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Jan 13 23:36:38 CET 2010
Notes:This file is intended for GUI for .NET only



Top Method Summary
Options Name Purpose
+ ClearUltraTreeNodes (TreeNodesCollection) Deletes nodes objects in a TreeNodes Collections
+ ClearUltraTreeNodes (UltraTree) Deletes all nodes objects in the UltraTree's Nodes Collection
+ DeleteObject (handle) Deletes an Widget handle, if valid
+ DeleteObject (Object) Deletes an Object instance, if valid
+ DeleteObject (Object[]) Deletes Object instances from an Array

Top Constructor Summary
Options Name Purpose
# GarbageCollectorHelper () Protected default constructor.


Method Detail
Top

PUBLIC ClearUltraTreeNodes (TreeNodesCollection)

Purpose: Deletes nodes objects in a TreeNodes Collections
Notes:

Parameters:
poNodesCollection Infragistics.Win.UltraWinTree.TreeNodesCollection
The reference to the TreeNodesCollection
Top

PUBLIC ClearUltraTreeNodes (UltraTree)

Purpose: Deletes all nodes objects in the UltraTree's Nodes Collection
Notes:

Parameters:
poUltraTree Infragistics.Win.UltraWinTree.UltraTree
The reference to the UltraTree object
Top

PUBLIC DeleteObject (handle)

Purpose: Deletes an Widget handle, if valid
Notes:

Parameters:
phWidget HANDLE
The handle of the widget to delete
Top

PUBLIC DeleteObject (Object)

Purpose: Deletes an Object instance, if valid
Notes:

Parameters:
poObject Progress.Lang.Object
The reference to the object to delete
Top

PUBLIC DeleteObject (Object[])

Purpose: Deletes Object instances from an Array
Notes: We have noticed a potential regression in OE11.4 CQC documented in
SCL-392. It appears that passing an initialized Object[] to this method
raises the runtime error: Uninitialized array used as source of assignment.
(14906). We will investigate the issue in probably have to log a ticket
with PSC when the issue is still present in 11.4 FCS. At this time
we do not recomment to use this method.

Parameters:
poObjects Progress.Lang.Object
The ABL array of objects to delete


Constructor Detail
Top

PROTECTED GarbageCollectorHelper ()

Purpose: Protected default constructor.
Notes: There's no need to create instances of the helper classes



©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:46:30