Share via


DataServiceProviderMethods.GetSequenceValue<T> Method

Gets a named value from the specified object as a sequence.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Shared Function GetSequenceValue(Of T) ( _
    value As Object, _
    property As ResourceProperty _
) As IEnumerable(Of T)
'Usage
Dim value As Object 
Dim property As ResourceProperty 
Dim returnValue As IEnumerable(Of T)

returnValue = DataServiceProviderMethods.GetSequenceValue(value, _
    property)
public static IEnumerable<T> GetSequenceValue<T>(
    Object value,
    ResourceProperty property
)
public:
generic<typename T>
static IEnumerable<T>^ GetSequenceValue(
    Object^ value, 
    ResourceProperty^ property
)
static member GetSequenceValue : 
        value:Object * 
        property:ResourceProperty -> IEnumerable<'T> 
JScript does not support generic types and methods.

Type Parameters

  • T
    Type of the resulting sequence.

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<T>
An IEnumerable<T> instance that contains the requested value as a sequence.

Remarks

A nulla null reference (Nothing in Visual Basic) value is returned when the named value cannot be found.

See Also

Reference

DataServiceProviderMethods Class

System.Data.Services.Providers Namespace