PrinterSettings::StringCollection Class
This API supports the product infrastructure and is not intended to be used directly from your code.
Contains a collection of String objects.
Assembly: System.Drawing (in System.Drawing.dll)
| Name | Description | |
|---|---|---|
![]() | PrinterSettings::StringCollection(array<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. |
| 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. |
| 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(array<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.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(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() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| 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. |
![]() ![]() | 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. |
![]() ![]() | ICollection::Count | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see Count. |
![]() ![]() | ICollection::IsSynchronized | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IsSynchronized. |
![]() ![]() | ICollection::SyncRoot | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see SyncRoot. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
The PrinterSettings::InstalledPrinters property, which indicates the names of printers installed on a computer, is a PrinterSettings::StringCollection.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





