語言

DataServiceContext.Links 屬性

定義

取得物件目前追蹤 DataServiceContext 的所有關聯或連結的集合。

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)

屬性值

一組 LinkDescriptor 物件代表所有由物件 DataServiceContext 追蹤的電流所追蹤的關聯或連結。

備註

若目前沒有連結被追蹤,則會回傳一個元素為 0 的清單。 本合集僅為閱讀。

適用於