M
Mike Bird
I am trying to create a NameValueSectionHandler to read a section from an
XML file. I am trying to figure out what parameters to pass to the Create
method. Parameter 1 is simply described as an object. I can't figure out
what type of object to pass in.
I assumed it would be a NameValueCollection, the same as the return, but
that isn't it. I also tried a Hashtable. All I can get to work is a null,
anything else generates an invalid type-cast exception.
I have searched the help, MSDN, and did a Google search for a sample but
can't find any samples of directly using his class. Can anyone show me a
working sample, or point me to one?
Thanks
XML file. I am trying to figure out what parameters to pass to the Create
method. Parameter 1 is simply described as an object. I can't figure out
what type of object to pass in.
I assumed it would be a NameValueCollection, the same as the return, but
that isn't it. I also tried a Hashtable. All I can get to work is a null,
anything else generates an invalid type-cast exception.
I have searched the help, MSDN, and did a Google search for a sample but
can't find any samples of directly using his class. Can anyone show me a
working sample, or point me to one?
Thanks