다음을 통해 공유


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 개체의 컬렉션입니다.

주의

현재 추적 중인 링크가 없는 경우 요소가 없는 목록이 반환됩니다. 컬렉션은 읽기 전용입니다.

참고 항목

참조

DataServiceContext 클래스

System.Data.Services.Client 네임스페이스