ExtentionsOutFullJoinTkey(IEnumerableObject, IEnumerableObject, FuncObject, Tkey, FuncObject, Tkey, FuncObject, Object, Object, Object) 方法
二维数组集合的全链接 结果按指定关键字选择器连接 显示2表所有数据
不写结果选择器则默认显示A+B的所有列
命名空间: Excel880VSTO程序集: Excel880VSTO (在 Excel880VSTO.dll 中) 版本:1.5.8.0 (1.5.8.0)
public static IEnumerable<Object[]> OutFullJoin<Tkey>(
this IEnumerable<Object[]> 源表,
IEnumerable<Object[]> 查询表,
Func<Object[], Tkey> 源表keys,
Func<Object[], Tkey> 查询表keys,
Func<Object[], Object[], Object[]> 结果选择器 = null,
Object 空行显示 = ""
)
<ExtensionAttribute>
Public Shared Function OutFullJoin(Of Tkey) (
源表 As IEnumerable(Of Object()),
查询表 As IEnumerable(Of Object()),
源表keys As Func(Of Object(), Tkey),
查询表keys As Func(Of Object(), Tkey),
Optional 结果选择器 As Func(Of Object(), Object(), Object()) = Nothing,
Optional 空行显示 As Object = ""
) As IEnumerable(Of Object())
Dim 源表 As IEnumerable(Of Object())
Dim 查询表 As IEnumerable(Of Object())
Dim 源表keys As Func(Of Object(), Tkey)
Dim 查询表keys As Func(Of Object(), Tkey)
Dim 结果选择器 As Func(Of Object(), Object(), Object())
Dim 空行显示 As Object
Dim returnValue As IEnumerable(Of Object())
returnValue = 源表.OutFullJoin(查询表,
源表keys, 查询表keys, 结果选择器, 空行显示)
- 源表 IEnumerableObject
-
- 查询表 IEnumerableObject
-
- 源表keys FuncObject, Tkey
-
- 查询表keys FuncObject, Tkey
-
- 结果选择器 FuncObject, Object, Object (Optional)
-
- 空行显示 Object (Optional)
-
- Tkey
IEnumerableObject在 Visual Basic 和 C# 中,这个方法可以当成为类型
IEnumerableObject 的实例方法来调用。在采用实例方法语法调用这个方法时,请省略第一个参数。请参考
扩展方法 (Visual Basic) 或
扩展方法 (C# 编程指南) 获取更多信息。