DataServiceContext.Links Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

public ReadOnlyCollection<LinkDescriptor> Links { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<LinkDescriptor>

A collection of LinkDescriptor objects that represent all associations or links current being tracked by the current being tracked by the DataServiceContext object.

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

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: