BCGControlBar Library for .NET
DisposeElementsOnClear Property




Specifies if all elements from the CollectionWithEvent should be disposed after its clearing.
Syntax
'Declaration
 
Public Property DisposeElementsOnClear As Boolean
'Usage
 
Dim instance As CollectionWithEvents
Dim value As Boolean
 
instance.DisposeElementsOnClear = value
 
value = instance.DisposeElementsOnClear
public bool DisposeElementsOnClear {get; set;}
public: __property bool get_DisposeElementsOnClear();
public: __property void set_DisposeElementsOnClear( 
   bool value
);
public:
property bool DisposeElementsOnClear {
   bool get();
   void set (    bool value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CollectionWithEvents Class
CollectionWithEvents Members

Send Feedback