RelatedItemManager.AddSingleLink 方法
命名空间: 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 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 _
)
用法
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
)
参数
- SourceListName
类型:System.String
- SourceItemID
类型:System.Int32
- SourceWebUrl
类型:System.String
- TargetListName
类型:System.String
- TargetItemID
类型:System.Int32
- TargetWebUrl
类型:System.String
- TryAddReverseLink
类型:System.Boolean