What does "'[fieldname]' is not a member of 'String'" mean.... specifically

D

Dave

Greetings All,

I have never seen this error before, and after an extensive search of
Groups, I cannot find a satisfactory answer to my basic question.

What exactly does "is not a member of 'String'" mean specifically?

I am developing in VB.NET and I was using the Collection datatype to
store property and object values. However, another group where I work
decided to use C#, and they want to use my base library objects. From
my research, I have learnt that the Collection and Dictionary
datatypes are carry over from VB6, and C# does not have an equivalent.
I have decided to implement the IDictionary interface, with absolute
failure!

I found an example on Microsoft how to inherit the DictionaryBase
library, but now get the "'[fieldname]' is not a member of 'String'"

Any example or help explaining this issue is gratefully appreciated.

I thank you in advance for your help.
 
M

Marina

It means that the propert/method you are trying to use does not exist in the
type of object you are using.
 
D

David McGee

Thanks for responding Marina,

Interesting... that was one of the first things I looked at, and that is
what confused me because my two properties are in the object.

I guess the error is generating from somewhere else. I do instantiate
the object in several places. I will look in those areas. Perhaps I
will have to think of another solutions.

Thanks so much for confirming my initial thoughts, and for responding
 
C

Chris Dunaway

What exactly does "is not a member of 'String'" mean specifically?

It means that '[fieldname]' is not a member of the String class. Can you
show us the line that is giving this error?

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top