DataServiceContext.Links Property
Gets the collection of all associations or links currently being tracked by the DataServiceContext object.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public ReadOnly Property Links As ReadOnlyCollection(Of LinkDescriptor)
Get
'Usage
Dim instance As DataServiceContext
Dim value As ReadOnlyCollection(Of LinkDescriptor)
value = instance.Links
public ReadOnlyCollection<LinkDescriptor> Links { get; }
public:
property ReadOnlyCollection<LinkDescriptor^>^ Links {
ReadOnlyCollection<LinkDescriptor^>^ get ();
}
member Links : ReadOnlyCollection<LinkDescriptor>
function get Links () : ReadOnlyCollection<LinkDescriptor>
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.
Remarks
If no links are currently being tracked, a list that has 0 elements is returned. The collection is read only.