Compartilhar via


RelatedItemManager.AddSingleLink método

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (em Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (em Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (em Microsoft.SharePoint.Client.dll)

Sintaxe

'Declaração
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 _
)
'Uso
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 Boolean

RelatedItemManager.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
)

Parâmetros

Ver também

Referência

RelatedItemManager classe

RelatedItemManager membros

Microsoft.SharePoint.Client namespace