EnumNumOfItems property (ICapabilityEnumeration2 Interface)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

long EnumNumOfItems

Overview

Refer to How to Work with the Containers – Visual Basic.

Remarks

Get or sets the number of items in the array of the ICapabilityEnumeration2 interface, where the ICapabilityEnumeration2 interface represents a container of type TW_ENUMERATION.

When getting capability information, this property contains the number of items contained in the array of the TW_ENUMERATION container associated with the capability. When setting a capability, this property should contain the number of items in the array to be set in the TW_ENUMERATION container.

See Also

Elements

EnumItemType property, EnumCapValue property, EnumCurrentIndex property, EnumDefaultIndex property.

Topics

TWAIN Functionality: Capability Functions