StringValues Estrutura
Definição
Representa zero/nulo, uma ou muitas cadeias de caracteres de maneira eficiente.Represents zero/null, one, or many strings in an efficient way.
public value class StringValues : IEquatable<cli::array <System::String ^> ^>, IEquatable<Microsoft::Extensions::Primitives::StringValues>, IEquatable<System::String ^>, System::Collections::Generic::ICollection<System::String ^>, System::Collections::Generic::IEnumerable<System::String ^>, System::Collections::Generic::IList<System::String ^>, System::Collections::Generic::IReadOnlyCollection<System::String ^>, System::Collections::Generic::IReadOnlyList<System::String ^>
public struct StringValues : IEquatable<Microsoft.Extensions.Primitives.StringValues>, IEquatable<string[]>, IEquatable<string>, System.Collections.Generic.ICollection<string>, System.Collections.Generic.IEnumerable<string>, System.Collections.Generic.IList<string>, System.Collections.Generic.IReadOnlyCollection<string>, System.Collections.Generic.IReadOnlyList<string>
type StringValues = struct
interface IList<string>
interface ICollection<string>
interface seq<string>
interface IEnumerable
interface IReadOnlyList<string>
interface IReadOnlyCollection<string>
type StringValues = struct
interface ICollection<string>
interface seq<string>
interface IEnumerable
interface IList<string>
interface IReadOnlyCollection<string>
interface IReadOnlyList<string>
Public Structure StringValues
Implements ICollection(Of String), IEnumerable(Of String), IEquatable(Of String()), IEquatable(Of String), IEquatable(Of StringValues), IList(Of String), IReadOnlyCollection(Of String), IReadOnlyList(Of String)
- Herança
- Implementações
Construtores
| StringValues(String) |
Inicializa uma nova instância da estrutura StringValues usando a cadeia de caracteres especificada.Initializes a new instance of the StringValues structure using the specified string. |
| StringValues(String[]) |
Inicializa uma nova instância da estrutura StringValues usando a matriz especificada de cadeias de caracteres.Initializes a new instance of the StringValues structure using the specified array of strings. |
Campos
| Empty |
Uma instância somente leitura do struct StringValues cujo valor é uma matriz de cadeia de caracteres vazia.A readonly instance of the StringValues struct whose value is an empty string array. |
Propriedades
| Count |
Obtém o número de elementos de cadeia de caracteres contidos neste StringValues.Gets the number of string elements contained in this StringValues. |
| Item[Int32] |
Obtém a cadeia de caracteres no índice.Gets the string at index. |
Métodos
| Concat(String, StringValues) |
Concatena a instância especificada de String com o StringValues especificado.Concatenates specified instance of String with specified StringValues. |
| Concat(StringValues, String) |
Concatena a instância especificada de StringValues com o String especificado.Concatenates specified instance of StringValues with specified String. |
| Concat(StringValues, StringValues) |
Concatena duas instâncias especificadas de StringValues.Concatenates two specified instances of StringValues. |
| Equals(Object) |
Determina se essa instância e um objeto especificado têm o mesmo valor.Determines whether this instance and a specified object have the same value. |
| Equals(String) |
Determina se essa instância e uma cadeia de caracteres especificada têm o mesmo valor.Determines whether this instance and a specified string have the same value. |
| Equals(String, StringValues) |
Determina se o String e os objetos StringValues especificados têm os mesmos valores.Determines whether the specified String and StringValues objects have the same values. |
| Equals(String[]) |
Determina se essa instância e uma matriz de cadeia de caracteres especificada têm os mesmos valores.Determines whether this instance and a specified string array have the same values. |
| Equals(String[], StringValues) |
Determina se a matriz de cadeia de caracteres e os objetos StringValues especificados têm os mesmos valores.Determines whether the specified string array and StringValues objects have the same values. |
| Equals(StringValues) |
Determina se essa instância e outro objeto StringValues especificado têm os mesmos valores.Determines whether this instance and another specified StringValues object have the same values. |
| Equals(StringValues, String) |
Determina se o StringValues e os objetos String especificados têm os mesmos valores.Determines whether the specified StringValues and String objects have the same values. |
| Equals(StringValues, String[]) |
Determina se os objetos da matriz de cadeia de caracteres e o StringValues especificados têm os mesmos valores.Determines whether the specified StringValues and string array objects have the same values. |
| Equals(StringValues, StringValues) |
Determina se dois objetos StringValues especificados têm o mesmo valor na mesma ordem.Determines whether two specified StringValues objects have the same values in the same order. |
| GetEnumerator() |
Recupera um objeto que pode iterar por cadeias de caracteres individuais neste StringValues.Retrieves an object that can iterate through the individual strings in this StringValues. |
| GetHashCode() | |
| IsNullOrEmpty(StringValues) |
Indica se o StringValues especificado não contém nenhum valor de cadeia de caracteres.Indicates whether the specified StringValues contains no string values. |
| ToArray() |
Cria uma matriz de cadeia de caracteres do objeto StringValues atual.Creates a string array from the current StringValues object. |
| ToString() |
Converte o valor do objeto StringValues atual em sua representação de cadeia de caracteres equivalente, com diversos valores unidos como uma cadeia de caracteres separada por vírgula.Converts the value of the current StringValues object to its equivalent string representation, with multiple values joined as a comma separated string. |
Operadores
| Equality(Object, StringValues) |
Determina se o Object especificado, que deve ser StringValues, String ou uma matriz de String, e o StringValues especificado têm o mesmo valor.Determines whether the specified Object, which must be a StringValues, String, or array of String, and specified StringValues, have the same value. |
| Equality(String, StringValues) | |
| Equality(String[], StringValues) | |
| Equality(StringValues, Object) |
Determina se o StringValues e o Object especificados, que devem ser StringValues, String ou uma matriz de String, têm o mesmo valor.Determines whether the specified StringValues and Object, which must be a StringValues, String, or array of String, have the same value. |
| Equality(StringValues, String) | |
| Equality(StringValues, String[]) | |
| Equality(StringValues, StringValues) |
Determina se dois StringValues especificados têm os mesmos valores.Determines whether two specified StringValues have the same values. |
| Implicit(String to StringValues) |
Define uma conversão implícita de uma determinada cadeia de caracteres em um StringValues.Defines an implicit conversion of a given string to a StringValues. |
| Implicit(String[] to StringValues) |
Define uma conversão implícita de uma determinada matriz de cadeia de caracteres em StringValues.Defines an implicit conversion of a given string array to a StringValues. |
| Implicit(StringValues to String) |
Define uma conversão implícita de um determinado StringValues para uma cadeia de caracteres, com vários valores unidos como uma cadeia de caracteres separada por vírgulas.Defines an implicit conversion of a given StringValues to a string, with multiple values joined as a comma separated string. |
| Implicit(StringValues to String[]) |
Define uma conversão implícita de um determinado StringValues para uma matriz de cadeia de caracteres.Defines an implicit conversion of a given StringValues to a string array. |
| Inequality(Object, StringValues) |
Determina se o Object e o objeto StringValues especificados têm os mesmos valores.Determines whether the specified Object and StringValues object have the same values. |
| Inequality(String, StringValues) |
Determina se o String e os objetos StringValues especificados têm valores diferentes.Determines whether the specified String and StringValues objects have different values. |
| Inequality(String[], StringValues) |
Determina se a matriz de cadeia de caracteres e o StringValues especificados têm valores diferentes.Determines whether the specified string array and StringValues have different values. |
| Inequality(StringValues, Object) |
Determina se o StringValues e o Object especificados, que devem ser StringValues, String ou uma matriz de String, têm valores diferentes.Determines whether the specified StringValues and Object, which must be a StringValues, String, or array of String, have different values. |
| Inequality(StringValues, String) |
Determina se o StringValues e os objetos String especificados têm valores diferentes.Determines whether the specified StringValues and String objects have different values. |
| Inequality(StringValues, String[]) |
Determina se o StringValues e a matriz de cadeia de caracteres especificados têm valores diferentes.Determines whether the specified StringValues and string array have different values. |
| Inequality(StringValues, StringValues) |
Determina se dois StringValues especificados têm valores diferentes.Determines whether two specified StringValues have different values. |
Implantações explícitas de interface
| ICollection<String>.Add(String) |
Adiciona um item à coleção.Adds an item to the collection. |
| ICollection<String>.Clear() |
Remove todos os itens da coleção.Removes all items from the collection. |
| ICollection<String>.Contains(String) |
Determina se uma cadeia de caracteres está no StringValues.Determines whether a string is in the StringValues. |
| ICollection<String>.CopyTo(String[], Int32) |
Copia todo o StringValuespara uma matriz de cadeia de caracteres, começando no índice especificado da matriz de destino.Copies the entire StringValuesto a string array, starting at the specified index of the target array. |
| ICollection<String>.IsReadOnly |
Obtém um valor que indica se a coleção é somente leitura.Gets a value indicating whether the collection is read-only. |
| ICollection<String>.Remove(String) |
Remove a primeira ocorrência de um objeto específico da coleção.Removes the first occurrence of a specific object from the collection. |
| IEnumerable.GetEnumerator() |
Retorna um enumerador que itera em uma coleção.Returns an enumerator that iterates through a collection. |
| IEnumerable<String>.GetEnumerator() |
Retorna um enumerador que itera pela coleção.Returns an enumerator that iterates through the collection. |
| IList<String>.IndexOf(String) |
Retorna o índice com base em zero da primeira ocorrência de um item no StringValues.Returns the zero-based index of the first occurrence of an item in the StringValues. |
| IList<String>.Insert(Int32, String) |
Insere um item na IList<T> no índice especificado.Inserts an item to the IList<T> at the specified index. |
| IList<String>.Item[Int32] | |
| IList<String>.RemoveAt(Int32) |
Remove o item IList<T> no índice especificado.Removes the IList<T> item at the specified index. |
Métodos de Extensão
| CopyToDataTable<T>(IEnumerable<T>) |
Retorna um DataTable que contém cópias dos objetos DataRow, dado um objeto IEnumerable<T> de entrada em que o parâmetro genérico |
| CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) |
Copia objetos DataRow no DataTable especificado, dado um objeto IEnumerable<T> de entrada em que o parâmetro genérico |
| CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) |
Copia objetos DataRow no DataTable especificado, dado um objeto IEnumerable<T> de entrada em que o parâmetro genérico |