DataServiceProviderMethods.GetSequenceValue<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.