LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

FreeItem Method






The item that was retrieved through the Leadtools.Wia.WiaSession.EnumItemsEvent that gets fired after a call to the EnumChildItems method to enumerate the device's child items.
Frees the items enumerated by the EnumChildItems method.
Syntax
public void FreeItem( 
   object item
)
'Declaration
 
Public Sub FreeItem( _
   ByVal item As Object _
) 
'Usage
 
Dim instance As WiaSession
Dim item As Object
 
instance.FreeItem(item)
public void FreeItem( 
   object item
)
 function Leadtools.Wia.WiaSession.FreeItem( 
   item 
)
public:
void FreeItem( 
   Object^ item
) 

Parameters

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

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

Example
For an example, refer to WiaSession.GetRootItem.
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

WiaSession Class
WiaSession Members
Startup Method
Shutdown Method
GetRootItem Method
EnumChildItems Method
GetProperties Method
SetProperties Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.