ExtentionsOutFullJoin(IEnumerableObject, IEnumerableObject, String, String, FuncObject, Object, Object, Object, String) 方法
二维数组集合的全连接,key接受逗号分隔的列号
左右无匹配项自动留空
命名空间: Excel880VSTO程序集: Excel880VSTO (在 Excel880VSTO.dll 中) 版本:1.5.8.0 (1.5.8.0)
public static IEnumerable<Object[]> OutFullJoin(
this IEnumerable<Object[]> 源表,
IEnumerable<Object[]> 查询表,
string 源表keys,
string 查询表keys,
Func<Object[], Object[], Object[]> 结果选择器,
Object 空行显示 = "",
string keys分隔符 = "@^@"
)
<ExtensionAttribute>
Public Shared Function OutFullJoin (
源表 As IEnumerable(Of Object()),
查询表 As IEnumerable(Of Object()),
源表keys As String,
查询表keys As String,
结果选择器 As Func(Of Object(), Object(), Object()),
Optional 空行显示 As Object = "",
Optional keys分隔符 As String = "@^@"
) As IEnumerable(Of Object())
Dim 源表 As IEnumerable(Of Object())
Dim 查询表 As IEnumerable(Of Object())
Dim 源表keys As String
Dim 查询表keys As String
Dim 结果选择器 As Func(Of Object(), Object(), Object())
Dim 空行显示 As Object
Dim keys分隔符 As String
Dim returnValue As IEnumerable(Of Object())
returnValue = 源表.OutFullJoin(查询表,
源表keys, 查询表keys, 结果选择器, 空行显示, keys分隔符)
- 源表 IEnumerableObject
-
- 查询表 IEnumerableObject
-
- 源表keys String
-
- 查询表keys String
-
- 结果选择器 FuncObject, Object, Object
-
- 空行显示 Object (Optional)
-
- keys分隔符 String (Optional)
-
IEnumerableObject在 Visual Basic 和 C# 中,这个方法可以当成为类型
IEnumerableObject 的实例方法来调用。在采用实例方法语法调用这个方法时,请省略第一个参数。请参考
扩展方法 (Visual Basic) 或
扩展方法 (C# 编程指南) 获取更多信息。