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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.