DataServiceProviderMethods.GetSequenceValue<T> Method

Definition

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

C#
public static System.Collections.Generic.IEnumerable<T> GetSequenceValue<T>(object value, System.Data.Services.Providers.ResourceProperty property);

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

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1