DataServiceContext.Links 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得物件目前追蹤 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 的清單。 本合集僅為閱讀。