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
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
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
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. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
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. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Explicit Interface Implementations
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. |