FreeItem Method

Summary
Frees the items enumerated by the EnumChildItems method.
Syntax
C#
C++
public void FreeItem( 
   object item 
) 
vb[VB Syntax] 
  
Public Sub FreeItem( _ 
   ByVal _item_ As Object _ 
) 
public: 
void FreeItem(  
   Object^ item 
)  

Parameters

item
The item that was retrieved through the 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 EnumDevicesEvent event after calling the EnumChildItems method.

Example

For an example, refer to WiaSession.GetRootItem.

Requirements

Target Platforms

Help Version 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.