Re: property
From: Ernest Morariu (ernest_at_gesora.com)
Date: 06/15/04
- Next message: Mobile Boy 36: "RunExeAndWait - vb.net (compact framework)"
- Previous message: cmoyaX_at_nospam.com: "Re: Question about RAM"
- In reply to: Frank: "property"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Jun 2004 09:51:09 +0200
> Is there a way to lose the prefix classA.x? Or even give completely other
> informational names for the enum.
You can lose the "ClassA" prefix defining your enum out of the class ClassA.
Ernest
"Frank" <frank@frank.com> wrote in message
news:cakgl9$70t$1@news2.tilbu1.nb.home.nl...
> Hello,
> question about the values for a property. I have a class with an enum and
> property:
> classA
> public enum x as short
> a
> b
> c
> end enum
>
> property xy() as x
> ..
> end prop
>
> When I dim a new class and fill the property:
> dim inst as new classA
> inst.xy=
>
> After typing the equal sign (intellisense) I see the possible prop values
> listed as:
> classA.x.a
> classA.x.b
> classA.x.c
> Is there a way to lose the prefix classA.x? Or even give completely other
> informational names for the enum.
> Thanx
> Frank
>
>
>
- Next message: Mobile Boy 36: "RunExeAndWait - vb.net (compact framework)"
- Previous message: cmoyaX_at_nospam.com: "Re: Question about RAM"
- In reply to: Frank: "property"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|