ImageMan.Net Version 3 Summer 2012 Release
AutoDispose Property
See Also  Send Feedback
DTI.ImageMan Namespace > ImageCollection Class : AutoDispose Property





Glossary Item Box

Gets or Sets a value indicating if the collection should automatically call Dispose on each of its images when it itself is disposed of.

Syntax

Visual Basic (Declaration) 
Public Property AutoDispose As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As ImageCollection
Dim value As System.Boolean
 
instance.AutoDispose = value
 
value = instance.AutoDispose
C# 
public System.bool AutoDispose {get; set;}
JScript 
public function get,set AutoDispose : System.boolean
Managed Extensions for C++ 
public: __property System.bool get_AutoDispose();
public: __property void set_AutoDispose( 
   System.bool value
);
C++/CLI 
public:
property System.bool AutoDispose {
   System.bool get();
   void set (    System.bool value);
}

Property Value

true if Images will be disposed when the collection is disposed of; otherwise, false.

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

© 2014 Data Techniques, Inc. All Rights Reserved.