DataServiceContext.Links 属性
获取当前正由 DataServiceContext 对象跟踪的所有关联或链接的集合。
命名空间: System.Data.Services.Client
程序集: Microsoft.Data.Services.Client(在 Microsoft.Data.Services.Client.dll 中)
语法
声明
Public ReadOnly Property Links As ReadOnlyCollection(Of LinkDescriptor)
Get
用法
Dim instance As DataServiceContext
Dim value As ReadOnlyCollection(Of LinkDescriptor)
value = instance.Links
public ReadOnlyCollection<LinkDescriptor> Links { get; }
public:
property ReadOnlyCollection<LinkDescriptor^>^ Links {
ReadOnlyCollection<LinkDescriptor^>^ get ();
}
member Links : ReadOnlyCollection<LinkDescriptor>
function get Links () : ReadOnlyCollection<LinkDescriptor>
属性值
类型:System.Collections.ObjectModel.ReadOnlyCollection<LinkDescriptor>
表示当前正由 DataServiceContext 对象跟踪的所有关联或链接的 LinkDescriptor 对象的集合。
注释
如果当前未跟踪任何链接,则返回具有 0 个元素的列表。 该集合是只读的。