共用方式為


RelatedItemManager.GetPageOneRelatedItems 方法

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Shared Function GetPageOneRelatedItems ( _
    context As ClientRuntimeContext, _
    SourceListName As String, _
    SourceItemID As Integer _
) As ClientResult(Of RelatedItem())
'用途
Dim context As ClientRuntimeContext
Dim SourceListName As String
Dim SourceItemID As Integer
Dim returnValue As ClientResult(Of RelatedItem())

returnValue = RelatedItemManager.GetPageOneRelatedItems(context, _
    SourceListName, SourceItemID)
public static ClientResult<RelatedItem[]> GetPageOneRelatedItems(
    ClientRuntimeContext context,
    string SourceListName,
    int SourceItemID
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<[]>

請參閱

參照

RelatedItemManager 類別

RelatedItemManager 成員

Microsoft.SharePoint.Client 命名空間