进入VBA相当于一个C#列出< T> [英] Access VBA equivalent to a C# List<T>

查看:206
本文介绍了进入VBA相当于一个C#列出< T>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C#编写接受字符串数组列表的COM可见对象。我可以送字符串数组的集合从Access 2000到该对象和它的工作?如果不是,那么什么是多字符串数组从Access 2000发送到我的C#对象的最佳方式是什么?

I have a COM-visible object written in C# that accepts a list of string arrays. Could I send a Collection of string arrays from Access 2000 to this object and it work? If not, then what is the best way to send multiple string arrays to my C# object from Access 2000?

推荐答案

您不能封送仿制药,但使用收集的VB6一边是一个可行的解决方案。有效地将你的清单,以一个标准的集合。

You can't marshal generics but using Collection on the VB6 side is a workable solution. Effectively convert your List to a standard collection.

下面的东西,更多的阐述: HTTP:// WWW 。codeproject.com / KB / COM / netclasslistvb6.aspx?显示=打印

Here's something that elaborates more: http://www.codeproject.com/KB/COM/netclasslistvb6.aspx?display=Print

这篇关于进入VBA相当于一个C#列出< T>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆