Name

PrinterSettings.StringCollection

Synopsis

This class represents an array of strings and is returned by the PrinterSettings.InstalledPrinters property. Contrary to the information in the MSDN documentation, this is not for internal use only, as you are quite entitled to access this collection to determine the set of printers installed on the machine.


public class PrinterSettings.StringCollection : ICollection, IEnumerable {

// Public Constructors

   public PrinterSettings.StringCollection(string[ ] array);

// Public Instance Properties

   public int Count{get; }

// implements ICollection

   public virtual string this{get; }

// Public Instance Methods

   public IEnumerator GetEnumerator();  // implements IEnumerable

}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.