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
)
參數
- SourceListName
類型:System.String
- SourceItemID
類型:System.Int32
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<[]>