Working With The LPrinterConfigurationItems Collection

The PrinterConfigItems property returns a reference to a collection of LPrinterConfigurationItems objects and has the following properties and method:

Properties

image\sqrblit.gif _NewEnum property (ILPrinterConfigurationItems): This property returns an IEnumVARIANT interface on an enumeration object for the collection. This is a standard property that allows the collection to be iterated over using the For…Each syntax of Visual Basic and VBScript.

image\sqrblit.gif Count property (ILPrinterConfigurationItems): This property specifies the number of LPrinterConfigurationItems objects in the collection.

Methods

image\sqrblit.gif Item method (ILPrinterConfigurationItems): This method returns a ILPrinterConfigurationItem object from the collection.