RelatedItemManager.AddSingleLinkFromUrl method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Sub AddSingleLinkFromUrl ( _
context As ClientRuntimeContext, _
SourceItemUrl As String, _
TargetListName As String, _
TargetItemID As Integer, _
TryAddReverseLink As Boolean _
)
'Usage
Dim context As ClientRuntimeContext
Dim SourceItemUrl As String
Dim TargetListName As String
Dim TargetItemID As Integer
Dim TryAddReverseLink As BooleanRelatedItemManager.AddSingleLinkFromUrl(context, _
SourceItemUrl, TargetListName, TargetItemID, _
TryAddReverseLink)
public static void AddSingleLinkFromUrl(
ClientRuntimeContext context,
string SourceItemUrl,
string TargetListName,
int TargetItemID,
bool TryAddReverseLink
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- SourceItemUrl
Type: System.String
- TargetListName
Type: System.String
- TargetItemID
Type: System.Int32
- TryAddReverseLink
Type: System.Boolean