Redigera

Dela via


DataServiceContext.Links Property

Definition

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

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Services::Client::LinkDescriptor ^> ^ Links { System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Services::Client::LinkDescriptor ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Services.Client.LinkDescriptor> Links { get; }
member this.Links : System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Services.Client.LinkDescriptor>
Public ReadOnly Property Links As ReadOnlyCollection(Of LinkDescriptor)

Property Value

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.

Applies to