Export (0) Print
Expand All

DataServiceCollection<T>.Load Method (IEnumerable<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)

public void Load(
	IEnumerable<T> items
)

Parameters

items
Type: System.Collections.Generic.IEnumerable<T>
Collection of entity objects to be added to the DataServiceCollection<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

Show:
© 2014 Microsoft