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 個元素的清單。 集合是唯讀的。

適用於