Export (0) Print
Expand All

DataServiceCollection(Of T).Load Method (IEnumerable(Of T))

Loads a collection of entity objects into the collection.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

'Declaration
Public Sub Load ( _
	items As IEnumerable(Of T) _
)

Parameters

items
Type: System.Collections.Generic.IEnumerable(Of T)
Collection of entity objects to be added to the DataServiceCollection(Of T).

ExceptionCondition
NotSupportedException

When the method is called.

This synchronous method is not supported for use in an application for Silverlight. An exception is raised when this method is called in a Silverlight application. Instead, use the LoadAsync method.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft