Condividi tramite


DataServiceContext.Links Property

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

Gets the collection of all associations or links currently being tracked by the DataServiceContext object.

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

Syntax

'Declaration
Public ReadOnly Property Links As ReadOnlyCollection(Of LinkDescriptor)
public ReadOnlyCollection<LinkDescriptor> Links { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<LinkDescriptor>
A collection of all associations or links currently being tracked by the DataServiceContext object.

Remarks

If no links are currently being tracked, a list that has zero elements is returned. The collection is read-only.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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