PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET Iterating thru User-Defined Data Type Property

Reply

Iterating thru User-Defined Data Type Property

 
Thread Tools Rate Thread
Old 02-02-2006, 05:49 PM   #1
=?Utf-8?B?Um9uaW4=?=
Guest
 
Posts: n/a
Default Iterating thru User-Defined Data Type Property


Public Structure MyDataType
dim LName as string
dim FName as string

'other procedures/methods/property statements

End Structure

please look at the codes above...

is there any way to iterate thru the variables by using

for... each statement

like for example

for each variable in MyDataType
next

Please help.

Thanks in advance.
  Reply With Quote
Old 02-02-2006, 06:59 PM   #2
Armin Zingler
Guest
 
Posts: n/a
Default Re: Iterating thru User-Defined Data Type Property

"Ronin" <Ronin@discussions.microsoft.com> schrieb
> Public Structure MyDataType
> dim LName as string
> dim FName as string
>
> 'other procedures/methods/property statements
>
> End Structure
>
> please look at the codes above...
>
> is there any way to iterate thru the variables by using
>
> for... each statement
>
> like for example
>
> for each variable in MyDataType
> next



http://msdn.microsoft.com/library/e...onatruntime.asp


Armin

  Reply With Quote
Old 02-02-2006, 09:19 PM   #3
=?Utf-8?B?Um9uaW4=?=
Guest
 
Posts: n/a
Default Re: Iterating thru User-Defined Data Type Property

Thanks boss

"Armin Zingler" wrote:

> "Ronin" <Ronin@discussions.microsoft.com> schrieb
> > Public Structure MyDataType
> > dim LName as string
> > dim FName as string
> >
> > 'other procedures/methods/property statements
> >
> > End Structure
> >
> > please look at the codes above...
> >
> > is there any way to iterate thru the variables by using
> >
> > for... each statement
> >
> > like for example
> >
> > for each variable in MyDataType
> > next

>
>
> http://msdn.microsoft.com/library/e...onatruntime.asp
>
>
> Armin
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off