RelatedItemManager.AddSingleLink - 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 Sub AddSingleLink ( _
context As ClientRuntimeContext, _
SourceListName As String, _
SourceItemID As Integer, _
SourceWebUrl As String, _
TargetListName As String, _
TargetItemID As Integer, _
TargetWebUrl As String, _
TryAddReverseLink As Boolean _
)
'Utilisation
Dim context As ClientRuntimeContext
Dim SourceListName As String
Dim SourceItemID As Integer
Dim SourceWebUrl As String
Dim TargetListName As String
Dim TargetItemID As Integer
Dim TargetWebUrl As String
Dim TryAddReverseLink As BooleanRelatedItemManager.AddSingleLink(context, SourceListName, _
SourceItemID, SourceWebUrl, TargetListName, _
TargetItemID, TargetWebUrl, TryAddReverseLink)
public static void AddSingleLink(
ClientRuntimeContext context,
string SourceListName,
int SourceItemID,
string SourceWebUrl,
string TargetListName,
int TargetItemID,
string TargetWebUrl,
bool TryAddReverseLink
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- SourceListName
Type : System.String
- SourceItemID
Type : System.Int32
- SourceWebUrl
Type : System.String
- TargetListName
Type : System.String
- TargetItemID
Type : System.Int32
- TargetWebUrl
Type : System.String
- TryAddReverseLink
Type : System.Boolean