PrinterSettings.StringCollection Classe
Definição
public: ref class PrinterSettings::StringCollection : System::Collections::ICollection
public class PrinterSettings.StringCollection : System.Collections.ICollection
type PrinterSettings.StringCollection = class
interface ICollection
interface IEnumerable
Public Class PrinterSettings.StringCollection
Implements ICollection
- Herança
-
PrinterSettings.StringCollection
- Implementações
Comentários
A PrinterSettings.InstalledPrinters propriedade, que indica os nomes das impressoras instaladas em um computador, é um PrinterSettings.StringCollection .The PrinterSettings.InstalledPrinters property, which indicates the names of printers installed on a computer, is a PrinterSettings.StringCollection.
Construtores
| PrinterSettings.StringCollection(String[]) |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Inicializa uma nova instância da classe PrinterSettings.StringCollection.Initializes a new instance of the PrinterSettings.StringCollection class. |
Propriedades
| Count |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém o número de cadeias de caracteres na coleção.Gets the number of strings in the collection. |
| Item[Int32] |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Obtém o String em um índice especificado.Gets the String at a specified index. |
Métodos
| Add(String) |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Adiciona uma cadeia de caracteres ao fim da coleção.Adds a string to the end of the collection. |
| CopyTo(String[], Int32) |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Copia o conteúdo do PrinterSettings.PrinterResolutionCollection atual para a matriz especificada, começando no índice especificado.Copies the contents of the current PrinterSettings.PrinterResolutionCollection to the specified array, starting at the specified index. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetEnumerator() |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Retorna um enumerador que pode iterar pela coleção.Returns an enumerator that can iterate through the collection. |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
Implantações explícitas de interface
| ICollection.CopyTo(Array, Int32) |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Para obter uma descrição desse membro, confira CopyTo(Array, Int32).For a description of this member, see CopyTo(Array, Int32). |
| ICollection.Count |
Para obter uma descrição desse membro, confira Count.For a description of this member, see Count. |
| ICollection.IsSynchronized |
Para obter uma descrição desse membro, confira IsSynchronized.For a description of this member, see IsSynchronized. |
| ICollection.SyncRoot |
Para obter uma descrição desse membro, confira SyncRoot.For a description of this member, see SyncRoot. |
| IEnumerable.GetEnumerator() |
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código. Para obter uma descrição desse membro, confira GetEnumerator().For a description of this member, see GetEnumerator(). |
Métodos de Extensão
| Cast<TResult>(IEnumerable) |
Converte os elementos de um IEnumerable para o tipo especificado.Casts the elements of an IEnumerable to the specified type. |
| OfType<TResult>(IEnumerable) |
Filtra os elementos de um IEnumerable com base em um tipo especificado.Filters the elements of an IEnumerable based on a specified type. |
| AsParallel(IEnumerable) |
Habilita a paralelização de uma consulta.Enables parallelization of a query. |
| AsQueryable(IEnumerable) |
Converte um IEnumerable em um IQueryable.Converts an IEnumerable to an IQueryable. |