Edit

Share via


DataServiceProviderMethods.GetSequenceValue<T> Method

Definition

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

public:
generic <typename T>
 static System::Collections::Generic::IEnumerable<T> ^ GetSequenceValue(System::Object ^ value, System::Data::Services::Providers::ResourceProperty ^ property);
public static System.Collections.Generic.IEnumerable<T> GetSequenceValue<T> (object value, System.Data.Services.Providers.ResourceProperty property);
static member GetSequenceValue : obj * System.Data.Services.Providers.ResourceProperty -> seq<'T>
Public Shared Function GetSequenceValue(Of T) (value As Object, property As ResourceProperty) As IEnumerable(Of T)

Type Parameters

T

Type of the resulting sequence.

Parameters

value
Object

Object that contains the value.

property
ResourceProperty

ResourceProperty that is the property the value of which must be returned.

Returns

An IEnumerable<T> instance that contains the requested value as a sequence.

Remarks

A null value is returned when the named value cannot be found.

Applies to