Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27513

VS 2012 List (Of T) String Array - Variable String Size

$
0
0
Hi,

I created a class 'Rule' with three string variables:

> ObjLst
> RuleLst
> ParamLst

Which get saved to a List(Of Rule) array.

Both ObjLst and RuleLst are single string variables but,
for each ObjLst and RuleLst there can be one or more ParamLst
variables[1..n].

1) How do I make a constructor for this sort of structure?
2) How do I add elements to the array - esp. the ParamLst
elements.
3) How do I get the individual elements - again, esp. the
ParamLst elements?

If needed to make it more clear, I can post snippets of my existing code.
Just let me know if it would be helpful.

Thanks For any help,
Grant

Viewing all articles
Browse latest Browse all 27513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>