Leadtools.Annotations Namespace > AnnObject Class > Dispose Method : Dispose() Method |
public void Dispose()
'Declaration Public Overloads Sub Dispose()
'Usage Dim instance As AnnObject instance.Dispose()
public void Dispose()
function Leadtools.Annotations.AnnObject.Dispose()()
public: void Dispose();
Public Sub AnnObject_Dispose(ByVal container As AnnContainer) Do While container.Objects.Count > 0 Dim obj As AnnObject = container.Objects(0) container.Objects.RemoveAt(0) obj.Dispose() Loop End Sub
public void AnnObject_Dispose(AnnContainer container) { while(container.Objects.Count > 0) { AnnObject obj = container.Objects[0]; container.Objects.RemoveAt(0); obj.Dispose(); } }
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