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 个元素的列表。 集合是只读的。