LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
FreeItem Method
See Also 
Leadtools.Wia Namespace > WiaSession Class : FreeItem Method



item
The item that was retrieved through the WiaSession.EnumItemsEvent that gets fired after a call to the Leadtools.Wia.WiaSession.EnumChildItems method to enumerate the device's child items.
item
The item that was retrieved through the WiaSession.EnumItemsEvent that gets fired after a call to the Leadtools.Wia.WiaSession.EnumChildItems method to enumerate the device's child items.
Frees the items enumerated by the Leadtools.Wia.WiaSession.EnumChildItems method.

Syntax

Visual Basic (Declaration) 
Public Sub FreeItem( _
   ByVal item As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As WiaSession
Dim item As Object
 
instance.FreeItem(item)
C# 
public void FreeItem( 
   object item
)
C++/CLI 
public:
void FreeItem( 
   Object^ item
) 

Parameters

item
The item that was retrieved through the WiaSession.EnumItemsEvent that gets fired after a call to the Leadtools.Wia.WiaSession.EnumChildItems method to enumerate the device's child items.

Example

For an example, refer to WiaSession.GetRootItem.

Remarks

Call this method for each item received through the WiaSession.EnumDevicesEvent event after calling the Leadtools.Wia.WiaSession.EnumChildItems method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also