<html> <head> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Example Classes</title> <link rel="stylesheet" type="text/css" href="../../../style.css"> </head> <body> <div class="CommonContent"> <div class="CommonContentArea"> <h1>Example Classes</h1><script> //We attach this function to a browser object as a variable so that if multiple of these blocks are //present on the same page, then they will simply over-write eachother with the same function instead //of generating a naming collision. window.WikiCodeFormattingCopyToClipboard = function copyToClipboard(sID){ var sContent = document.getElementById(sID).innerText; if( window.clipboardData && clipboardData.setData ) { clipboardData.setData("Text", sContent); } else { alert("You must enable javascript access to your clipboard for this feature to work. Please referr to your browser documentation or Google search for instructions."); } } </script><p><span name="cs_wiki_filter" csw_filters="vb"></p> <div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">DataObject.vb</span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46"><div><!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><span style="color: #008080;">01</span><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/><span style="color: #008000;">'</span><span style="color: #008000;"> Copyright (C) 2007 db4objects Inc. http://www.db4o.com</span><span style="color: #008000;"> </span><span style="color: #008080;">02</span><span style="color: #008000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Open_Text').style.display='inline';"/></span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Namespace Db4objects</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_57_833_Open_Text"><span style="color: #0000FF;">Namespace</span><span style="color: #000000;"> Db4objects.Db4odoc.ListDeleting </span><span style="color: #008080;">03</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">04</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Open_Text').style.display='inline';"/> </span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Class DataObject</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_104_819_Open_Text"><span style="color: #0000FF;">Class</span><span style="color: #000000;"> DataObject </span><span style="color: #008080;">05</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Private</span><span style="color: #000000;"> _name </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;"> </span><span style="color: #008080;">06</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Private</span><span style="color: #000000;"> _data </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;"> </span><span style="color: #008080;">07</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">08</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub New()</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_201_226_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;">() </span><span style="color: #008080;">09</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;"> </span><span style="color: #008080;">10</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">11</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Property Name()</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_243_443_Open_Text"><span style="color: #0000FF;">Property</span><span style="color: #000000;"> Name() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;"> </span><span style="color: #008080;">12</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">13</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> _name </span><span style="color: #008080;">14</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">15</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Set</span><span style="color: #000000;">(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> value </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;">) </span><span style="color: #008080;">16</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _name </span><span style="color: #000000;">=</span><span style="color: #000000;"> value </span><span style="color: #008080;">17</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Set</span><span style="color: #000000;"> </span><span style="color: #008080;">18</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Property</span></span><span style="color: #000000;"> </span><span style="color: #008080;">19</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">20</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Property Data()</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_460_660_Open_Text"><span style="color: #0000FF;">Property</span><span style="color: #000000;"> Data() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;"> </span><span style="color: #008080;">21</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">22</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> _data </span><span style="color: #008080;">23</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">24</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Set</span><span style="color: #000000;">(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> value </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;">) </span><span style="color: #008080;">25</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _data </span><span style="color: #000000;">=</span><span style="color: #000000;"> value </span><span style="color: #008080;">26</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Set</span><span style="color: #000000;"> </span><span style="color: #008080;">27</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Property</span></span><span style="color: #000000;"> </span><span style="color: #008080;">28</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">29</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Overloads</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Overrides</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function ToString()</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsDataObject.Vb_DataObject.Vb_54_46_697_805_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> ToString() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;"> </span><span style="color: #008080;">30</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;">.Format(</span><span style="color: #800000;">"</span><span style="color: #800000;">{0}/{1}</span><span style="color: #800000;">"</span><span style="color: #000000;">, _name, _data) </span><span style="color: #008080;">31</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Function</span></span><span style="color: #000000;"> </span><span style="color: #008080;">32</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Class</span></span><span style="color: #000000;"> </span><span style="color: #008080;">33</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/></span><span style="color: #0000FF;">End Namespace</span></span></div></pre></div></div> <div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">ListObject.vb</span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42"><div><!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><span style="color: #008080;">01</span><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/><span style="color: #008000;">'</span><span style="color: #008000;"> Copyright (C) 2007 db4objects Inc. http://www.db4o.com</span><span style="color: #008000;"> </span><span style="color: #008080;">02</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">Imports</span><span style="color: #000000;"> System.Collections.Generic </span><span style="color: #008080;">03</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Open_Text').style.display='inline';"/></span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Namespace Db4objects</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_92_806_Open_Text"><span style="color: #0000FF;">Namespace</span><span style="color: #000000;"> Db4objects.Db4odoc.ListDeleting </span><span style="color: #008080;">04</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">05</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Open_Text').style.display='inline';"/> </span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Class ListObject</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_139_792_Open_Text"><span style="color: #0000FF;">Class</span><span style="color: #000000;"> ListObject </span><span style="color: #008080;">06</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Private</span><span style="color: #000000;"> _name </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;"> </span><span style="color: #008080;">07</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Private</span><span style="color: #000000;"> _data </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> List(</span><span style="color: #0000FF;">Of</span><span style="color: #000000;"> DataObject) </span><span style="color: #008080;">08</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">09</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub New()</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_249_318_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;">() </span><span style="color: #008080;">10</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _data </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;"> List(</span><span style="color: #0000FF;">Of</span><span style="color: #000000;"> DataObject) </span><span style="color: #008080;">11</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;"> </span><span style="color: #008080;">12</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">13</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Property Name()</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_335_535_Open_Text"><span style="color: #0000FF;">Property</span><span style="color: #000000;"> Name() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;"> </span><span style="color: #008080;">14</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">15</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> _name </span><span style="color: #008080;">16</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">17</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Set</span><span style="color: #000000;">(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> value </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;">) </span><span style="color: #008080;">18</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _name </span><span style="color: #000000;">=</span><span style="color: #000000;"> value </span><span style="color: #008080;">19</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Set</span><span style="color: #000000;"> </span><span style="color: #008080;">20</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Property</span></span><span style="color: #000000;"> </span><span style="color: #008080;">21</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">22</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Property Data()</span><span id="ResourcesReferenceObject_LifecycleDelete_BehaviorListDeletingVB.ZipsListObject.Vb_ListObject.Vb_102_42_552_778_Open_Text"><span style="color: #0000FF;">Property</span><span style="color: #000000;"> Data() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> List(</span><span style="color: #0000FF;">Of</span><span style="color: #000000;"> DataObject) </span><span style="color: #008080;">23</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">24</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> _data </span><span style="color: #008080;">25</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">26</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Set</span><span style="color: #000000;">(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> value </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> List(</span><span style="color: #0000FF;">Of</span><span style="color: #000000;"> DataObject)) </span><span style="color: #008080;">27</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _data </span><span style="color: #000000;">=</span><span style="color: #000000;"> value </span><span style="color: #008080;">28</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Set</span><span style="color: #000000;"> </span><span style="color: #008080;">29</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Property</span></span><span style="color: #000000;"> </span><span style="color: #008080;">30</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Class</span></span><span style="color: #000000;"> </span><span style="color: #008080;">31</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/></span><span style="color: #0000FF;">End Namespace</span></span></div></pre></div></div><br> </p> <p></span><br> </p> </div> </div> <div id="footer"> This revision (1) was last Modified 2007-02-25T16:12:00 by Tetyana. </div> </body> </html>