Поделиться через


DataServiceCollection<T>.Add Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Adds a new item to the collection.

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

Syntax

'Declaration
Public Sub Add ( _
    item As T _
)
public void Add(
    T item
)

Parameters

  • item
    Type: T
    The entity to add to the collection.

Remarks

The Add method calls

Add on the ObservableCollection<T> base class.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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