PrinterSettings.StringCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains a collection of String objects.
This API supports the product infrastructure and is not intended to be used directly from your code.
public: ref class PrinterSettings::StringCollection : System::Collections::Generic::IEnumerable<System::String ^>, System::Collections::ICollection
public: ref class PrinterSettings::StringCollection : System::Collections::ICollection
public class PrinterSettings.StringCollection : System.Collections.Generic.IEnumerable<string>, System.Collections.ICollection
public class PrinterSettings.StringCollection : System.Collections.ICollection
type PrinterSettings.StringCollection = class
interface ICollection
interface IEnumerable
interface seq<string>
type PrinterSettings.StringCollection = class
interface ICollection
interface IEnumerable
Public Class PrinterSettings.StringCollection
Implements ICollection, IEnumerable(Of String)
Public Class PrinterSettings.StringCollection
Implements ICollection
- Inheritance
-
PrinterSettings.StringCollection
- Implements
Remarks
The PrinterSettings.InstalledPrinters property, which indicates the names of printers installed on a computer, is a PrinterSettings.StringCollection.
Constructors
| Name | Description |
|---|---|
| PrinterSettings.StringCollection(String[]) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the PrinterSettings.StringCollection class. |
Properties
| Name | Description |
|---|---|
| Count |
This API supports the product infrastructure and is not intended to be used directly from your code. Gets the number of strings in the collection. |
| Item[Int32] |
This API supports the product infrastructure and is not intended to be used directly from your code. Gets the String at a specified index. |
Methods
| Name | Description |
|---|---|
| Add(String) |
This API supports the product infrastructure and is not intended to be used directly from your code. Adds a string to the end of the collection. |
| CopyTo(String[], Int32) |
This API supports the product infrastructure and is not intended to be used directly from your code. Copies the contents of the current PrinterSettings.PrinterResolutionCollection to the specified array, starting at the specified index. |
| GetEnumerator() |
This API supports the product infrastructure and is not intended to be used directly from your code. Returns an enumerator that can iterate through the collection. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| ICollection.CopyTo(Array, Int32) |
This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see CopyTo(Array, Int32). |
| ICollection.Count |
For a description of this member, see Count. |
| ICollection.IsSynchronized |
For a description of this member, see IsSynchronized. |
| ICollection.SyncRoot |
For a description of this member, see SyncRoot. |
| IEnumerable.GetEnumerator() |
This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see GetEnumerator(). |
| IEnumerable<String>.GetEnumerator() |
Returns an enumerator that iterates through the collection. |