|
-
Jul 6th, 2015, 09:58 AM
#4
Re: Expose C# List<T> to COM Interop and access it from classic asp
Huh? is it a List<> or a multi-dimensional array? It can't be both. Are you returning a List<> with another List<> in it? Bottom line, VBScript in ASP cannot handle a List<> whether it's the main object returned or a property of another object or the property of a property of an object... it needs to be an array... if you look at the example at the link, you'll see that's exactly what they are doing... casting the list .ToArray and returning that result.
-tg
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|