all groups > dotnet academic > january 2006 >
You're in the

dotnet academic

group:

Custom Property


Custom Property Ronin
1/17/2006 12:11:02 PM
dotnet academic:
Is there any way to create custom property and access the property using
"For" or "For Each" statement?

if so... would you kindly pont me to the right direction.

Re: Custom Property Paul Henderson
1/17/2006 1:25:00 PM
[quoted text, click to view]

What you want might be indexers in C#, but I guess you're using VB as
you write "For Each" as two words. Alternatively, you might just want
to have your property be of a type implementing IEnumerable, which
would let you use For Each over it. It'd be helpful if you could post
some pseudocode to show the exact sort of effect you are trying to
achieve.
Re: Custom Property Ronin
1/24/2006 7:20:06 AM
Thanks Paul, that helps alot.



Ronin

[quoted text, click to view]
AddThis Social Bookmark Button