ListSortDescriptionCollection Clase
Definición
Representa una colección de objetos ListSortDescription.Represents a collection of ListSortDescription objects.
public ref class ListSortDescriptionCollection : System::Collections::IList
public class ListSortDescriptionCollection : System.Collections.IList
type ListSortDescriptionCollection = class
interface ICollection
interface IEnumerable
interface IList
type ListSortDescriptionCollection = class
interface IList
interface ICollection
interface IEnumerable
Public Class ListSortDescriptionCollection
Implements IList
- Herencia
-
ListSortDescriptionCollection
- Implementaciones
Comentarios
La ListSortDescriptionCollection interfaz utiliza la clase IBindingListView .The ListSortDescriptionCollection class is used by the IBindingListView interface.
La ListSortDescriptionCollection es de solo lectura una vez construida.The ListSortDescriptionCollection is read-only once constructed.
Constructores
ListSortDescriptionCollection() |
Inicializa una nueva instancia de la clase ListSortDescriptionCollection.Initializes a new instance of the ListSortDescriptionCollection class. |
ListSortDescriptionCollection(ListSortDescription[]) |
Inicializa una nueva instancia de la clase ListSortDescriptionCollection con la matriz especificada de objetos ListSortDescription.Initializes a new instance of the ListSortDescriptionCollection class with the specified array of ListSortDescription objects. |
Propiedades
Count |
Obtiene el número de elementos de la colección.Gets the number of items in the collection. |
Item[Int32] |
Obtiene o establece el objeto ListSortDescription especificado.Gets or sets the specified ListSortDescription. |
Métodos
Contains(Object) |
Determina si ListSortDescriptionCollection contiene un valor específico.Determines if the ListSortDescriptionCollection contains a specific value. |
CopyTo(Array, Int32) |
Copia el contenido de la colección a la matriz especificada, empezando por el índice que se indique de la matriz de destino.Copies the contents of the collection to the specified array, starting at the specified destination array index. |
Equals(Object) |
Determina si el objeto especificado es igual que el objeto actual.Determines whether the specified object is equal to the current object. (Heredado de Object) |
GetHashCode() |
Sirve como la función hash predeterminada.Serves as the default hash function. (Heredado de Object) |
GetType() |
Obtiene el Type de la instancia actual.Gets the Type of the current instance. (Heredado de Object) |
IndexOf(Object) |
Devuelve el índice del elemento específico de la colección.Returns the index of the specified item in the collection. |
MemberwiseClone() |
Crea una copia superficial del Object actual.Creates a shallow copy of the current Object. (Heredado de Object) |
ToString() |
Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object. (Heredado de Object) |
Implementaciones de interfaz explícitas
ICollection.IsSynchronized |
Obtiene un valor que indica si el acceso a la colección es seguro para la ejecución de subprocesos.Gets a value indicating whether access to the collection is thread safe. |
ICollection.SyncRoot |
Obtiene la instancia actual que se puede utilizar para sincronizar el acceso a la colección.Gets the current instance that can be used to synchronize access to the collection. |
IEnumerable.GetEnumerator() |
Obtiene una interfaz IEnumerator que se puede utilizar para recorrer en iteración la colección.Gets a IEnumerator that can be used to iterate through the collection. |
IList.Add(Object) |
Agrega un elemento a la colección.Adds an item to the collection. |
IList.Clear() |
Quita todos los elementos de la colección.Removes all items from the collection. |
IList.Insert(Int32, Object) |
Inserta un elemento en el índice especificado de la colección.Inserts an item into the collection at a specified index. |
IList.IsFixedSize |
Obtiene un valor que indica si la colección tiene un tamaño fijo.Gets a value indicating whether the collection has a fixed size. |
IList.IsReadOnly |
Obtiene un valor que indica si la colección es de solo lectura.Gets a value indicating whether the collection is read-only. |
IList.Item[Int32] |
Obtiene la clase ListSortDescription especificada.Gets the specified ListSortDescription. |
IList.Remove(Object) |
Quita la primera aparición de un elemento de la colección.Removes the first occurrence of an item from the collection. |
IList.RemoveAt(Int32) |
Quita un elemento de la colección en un índice especificado.Removes an item from the collection at a specified index. |
Métodos de extensión
Cast<TResult>(IEnumerable) |
Convierte los elementos de IEnumerable en el tipo especificado.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtra los elementos de IEnumerable en función de un tipo especificado.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Habilita la paralelización de una consulta.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Convierte una interfaz IEnumerable en IQueryable.Converts an IEnumerable to an IQueryable. |