Compartir a través de


Clase ExpandSegmentCollection

Los segmentos de una consulta que la cláusula $expand que sigue a una consulta puede expandir.

Jerarquía de herencia

System.Object
  System.Collections.Generic.List<ExpandSegment>
    System.Data.Services.ExpandSegmentCollection

Espacio de nombres:  System.Data.Services
Ensamblado:  Microsoft.Data.Services (en Microsoft.Data.Services.dll)

Sintaxis

'Declaración
Public Class ExpandSegmentCollection _
    Inherits List(Of ExpandSegment)
'Uso
Dim instance As ExpandSegmentCollection
public class ExpandSegmentCollection : List<ExpandSegment>
public ref class ExpandSegmentCollection : public List<ExpandSegment^>
type ExpandSegmentCollection =  
    class
        inherit List<ExpandSegment>
    end
public class ExpandSegmentCollection extends List<ExpandSegment>

El tipo ExpandSegmentCollection expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ExpandSegmentCollection() Crea una colección de segmentos expand para una consulta.
Método público ExpandSegmentCollection(Int32) Inicializa una nueva colección de segmentos expand que está vacía y tiene la capacidad inicial especificada.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Capacity (Se hereda de List<ExpandSegment>.)
Propiedad pública Count (Se hereda de List<ExpandSegment>.)
Propiedad pública HasFilter Valor booleano que indica si los segmentos que se van a expandir incluyen una cláusula de filtro.
Propiedad pública Item (Se hereda de List<ExpandSegment>.)

Arriba

Métodos

  Nombre Descripción
Método público Add (Se hereda de List<ExpandSegment>.)
Método público AddRange (Se hereda de List<ExpandSegment>.)
Método público AsReadOnly (Se hereda de List<ExpandSegment>.)
Método público BinarySearch(T) (Se hereda de List<ExpandSegment>.)
Método público BinarySearch(T, IComparer<T>) (Se hereda de List<ExpandSegment>.)
Método público BinarySearch(Int32, Int32, T, IComparer<T>) (Se hereda de List<ExpandSegment>.)
Método público Clear (Se hereda de List<ExpandSegment>.)
Método público Contains (Se hereda de List<ExpandSegment>.)
Método público ConvertAll<TOutput> (Se hereda de List<ExpandSegment>.)
Método público CopyTo(array<T[]) (Se hereda de List<ExpandSegment>.)
Método público CopyTo(array<T[], Int32) (Se hereda de List<ExpandSegment>.)
Método público CopyTo(Int32, array<T[], Int32, Int32) (Se hereda de List<ExpandSegment>.)
Método público Equals (Se hereda de Object.)
Método público Exists (Se hereda de List<ExpandSegment>.)
Método protegido Finalize (Se hereda de Object.)
Método público Find (Se hereda de List<ExpandSegment>.)
Método público FindAll (Se hereda de List<ExpandSegment>.)
Método público FindIndex(Predicate<T>) (Se hereda de List<ExpandSegment>.)
Método público FindIndex(Int32, Predicate<T>) (Se hereda de List<ExpandSegment>.)
Método público FindIndex(Int32, Int32, Predicate<T>) (Se hereda de List<ExpandSegment>.)
Método público FindLast (Se hereda de List<ExpandSegment>.)
Método público FindLastIndex(Predicate<T>) (Se hereda de List<ExpandSegment>.)
Método público FindLastIndex(Int32, Predicate<T>) (Se hereda de List<ExpandSegment>.)
Método público FindLastIndex(Int32, Int32, Predicate<T>) (Se hereda de List<ExpandSegment>.)
Método público ForEach (Se hereda de List<ExpandSegment>.)
Método público GetEnumerator (Se hereda de List<ExpandSegment>.)
Método público GetHashCode (Se hereda de Object.)
Método público GetRange (Se hereda de List<ExpandSegment>.)
Método público GetType (Se hereda de Object.)
Método público IndexOf(T) (Se hereda de List<ExpandSegment>.)
Método público IndexOf(T, Int32) (Se hereda de List<ExpandSegment>.)
Método público IndexOf(T, Int32, Int32) (Se hereda de List<ExpandSegment>.)
Método público Insert (Se hereda de List<ExpandSegment>.)
Método público InsertRange (Se hereda de List<ExpandSegment>.)
Método público LastIndexOf(T) (Se hereda de List<ExpandSegment>.)
Método público LastIndexOf(T, Int32) (Se hereda de List<ExpandSegment>.)
Método público LastIndexOf(T, Int32, Int32) (Se hereda de List<ExpandSegment>.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público Remove (Se hereda de List<ExpandSegment>.)
Método público RemoveAll (Se hereda de List<ExpandSegment>.)
Método público RemoveAt (Se hereda de List<ExpandSegment>.)
Método público RemoveRange (Se hereda de List<ExpandSegment>.)
Método público Reverse() (Se hereda de List<ExpandSegment>.)
Método público Reverse(Int32, Int32) (Se hereda de List<ExpandSegment>.)
Método público Sort() (Se hereda de List<ExpandSegment>.)
Método público Sort(IComparer<T>) (Se hereda de List<ExpandSegment>.)
Método público Sort(Comparison<T>) (Se hereda de List<ExpandSegment>.)
Método público Sort(Int32, Int32, IComparer<T>) (Se hereda de List<ExpandSegment>.)
Método público ToArray (Se hereda de List<ExpandSegment>.)
Método público ToString (Se hereda de Object.)
Método público TrimExcess (Se hereda de List<ExpandSegment>.)
Método público TrueForAll (Se hereda de List<ExpandSegment>.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado IList.Add (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasMétodo privado IList.Contains (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasMétodo privado ICollection.CopyTo (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasMétodo privado IEnumerable<T>.GetEnumerator (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasMétodo privado IEnumerable.GetEnumerator (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasMétodo privado IList.IndexOf (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasMétodo privado IList.Insert (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasPropiedad privada IList.IsFixedSize (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasPropiedad privada ICollection<T>.IsReadOnly (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasPropiedad privada IList.IsReadOnly (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasPropiedad privada ICollection.IsSynchronized (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasPropiedad privada IList.Item (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasMétodo privado IList.Remove (Se hereda de List<ExpandSegment>.)
Implementación de interfaces explícitasPropiedad privada ICollection.SyncRoot (Se hereda de List<ExpandSegment>.)

Arriba

Comentarios

Una cláusula $expand indica que cada elemento Expand se debería expandir totalmente. Por ejemplo, el valor de OrderLines.Product.Image con $expand origina que OrderLines, el Product de cada elemento de OrderLines y la Image del Product de cada elemento de OrderLines se expanda.

La propiedad de recurso situada más a la izquierda en una cláusula $expand debe ser una propiedad en el tipo de entidad dentro del conjunto de entidades identificado por el último segmento de la ruta de acceso en el URI de solicitud.

Se omiten las reglas de cláusula $expand redundantes.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres System.Data.Services