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 | |
---|---|---|
ExpandSegmentCollection() | Crea una colección de segmentos expand para una consulta. | |
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 | |
---|---|---|
Capacity | (Se hereda de List<ExpandSegment>.) | |
Count | (Se hereda de List<ExpandSegment>.) | |
HasFilter | Valor booleano que indica si los segmentos que se van a expandir incluyen una cláusula de filtro. | |
Item | (Se hereda de List<ExpandSegment>.) |
Arriba
Métodos
Arriba
Implementaciones de interfaces explícitas
Nombre | Descripción | |
---|---|---|
IList.Add | (Se hereda de List<ExpandSegment>.) | |
IList.Contains | (Se hereda de List<ExpandSegment>.) | |
ICollection.CopyTo | (Se hereda de List<ExpandSegment>.) | |
IEnumerable<T>.GetEnumerator | (Se hereda de List<ExpandSegment>.) | |
IEnumerable.GetEnumerator | (Se hereda de List<ExpandSegment>.) | |
IList.IndexOf | (Se hereda de List<ExpandSegment>.) | |
IList.Insert | (Se hereda de List<ExpandSegment>.) | |
IList.IsFixedSize | (Se hereda de List<ExpandSegment>.) | |
ICollection<T>.IsReadOnly | (Se hereda de List<ExpandSegment>.) | |
IList.IsReadOnly | (Se hereda de List<ExpandSegment>.) | |
ICollection.IsSynchronized | (Se hereda de List<ExpandSegment>.) | |
IList.Item | (Se hereda de List<ExpandSegment>.) | |
IList.Remove | (Se hereda de List<ExpandSegment>.) | |
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.