intellisense

R

Rahul

Hi,
I have a class called "myclass", with a property "Deal"
I want to show my prgrammers (while they are using the object to myclass)
available "Deals" which are available in XML file
as intellisense

ex. objmyclass.Deal. <All values from xml>

I tried but nothing worked... If anybody has a solution please reply...

Rahul
 
G

Guest

Rahul,
If your property of enumerated type, it will intellisense possible values,
for example

Public Enum Deals
Deal1
Deal2
End Enum

Public Property Deal() As Deals
....
End Property

HTH
 
R

Rahul

but i want it at design time ... when the programmer is writing a code ..
I didn't really get it ...

Rahul
 
G

Guest

Rahul,

Not sure what you mean - VB will intellisense enumerations - if you want to
expand on the requirements, please provide more details.

Sergey
 
R

Rahul

I want it dynamically to happen ... say I add a new value later, that should
also get reflected,

Rahul
 

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