RelatedItemManager.GetRelatedItems - Méthode
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Shared Function GetRelatedItems ( _
context As ClientRuntimeContext, _
SourceListName As String, _
SourceItemID As Integer _
) As ClientResult(Of RelatedItem())
'Utilisation
Dim context As ClientRuntimeContext
Dim SourceListName As String
Dim SourceItemID As Integer
Dim returnValue As ClientResult(Of RelatedItem())
returnValue = RelatedItemManager.GetRelatedItems(context, _
SourceListName, SourceItemID)
public static ClientResult<RelatedItem[]> GetRelatedItems(
ClientRuntimeContext context,
string SourceListName,
int SourceItemID
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- SourceListName
Type : System.String
- SourceItemID
Type : System.Int32
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<[]>