473,473 Members | 1,808 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

getting VS intellisense to suggest classes

2 New Member
i have create a class
Expand|Select|Wrap|Line Numbers
  1.  
  2. public class foo
  3. {
  4. private int _status;
  5.  
  6. public int status
  7. {
  8. get { return _status;}
  9. set {_status = value;}
  10. }
  11. }
  12. for which i have created an enum
  13. public enum foo_Status
  14. {
  15. Included = 1,
  16. Excluded = 2
  17. }
  18.  
now i want the compiler to suggest foo_Status as the status when i type

if(foo.status ==

how do i do this..
Jul 23 '08 #1
3 984
DrBunchman
979 Recognized Expert Contributor
Hi lekkerverjaarfrikkie,

Welcome to Bytes.com! I hope you find the site useful.

You've posted your question in the ASP Forum which is for Classic ASP only - I've moved it for you but in future please post all ASP.NET questions in the .NET Forum.

Also, please wrap your code with [code] tags when posting by using the # button in the edit window - it makes it much easier for everyone to read.

Good luck finding an answer to your query.

Dr B
Jul 23 '08 #2
lekkerverjaarfrikkie
2 New Member
lol ja thanks.
i only got to reading the way to submit posts after the first post.
Jul 23 '08 #3
Curtis Rutland
3,256 Recognized Expert Specialist
You need to define _status and status as type foo_Status for it to suggest the enum values.
Jul 23 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Stefan Kronberg | last post by:
I'm working on a solution containing about 20 projects. Some of the projects contain class definitions that are used in other of the projects. Most of the time intellisense is working ok, i.e. if I...
1
by: Guy | last post by:
I've written a DLL assembly in C#. I've built the DLL, and reference it from other projects. The assembly contains a single file, containing a single abstract class. This class contains loads of...
5
by: Don | last post by:
Hi: I have created an xsd from my xml document. I pop this xsd in the following directory: C:\program files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml. That give me...
6
by: Mark | last post by:
When developing C# applications in VS.NET, you get intellisense descriptions for all methods in the .NET class libraries. I've created my own .NET assembly and included /// C# documentation of all...
1
by: EricTsai - ½²©v¿« | last post by:
IntelliSense in C# can't show classes whose name has two parts, seperated by ' . ', and the first part is the same as some control. As the result, many classes in System.Windows.Forms, like...
3
by: Dominik Gorsler | last post by:
Hi, for some of the classes in my project, IntelliSense does not seem to be available, whereas for others everything works fine. I believe that for all the classes I have added after a certain...
2
by: avanti | last post by:
Hi, I am developing an application where the scripts are written in the XML files. The application parses them and creates required CS files and runs them. The application has set of APIs that are...
3
by: Travis | last post by:
Hi, I was a user of Visual C# for a while and have gotten used to the Intellisense for that program. I went to try Visual Basic, and the intellisense is so much different. I'll try to make an...
4
by: Clive Dixon | last post by:
I have a project as part of a solution which contains a very large number of autogenerated class files. When compiling the solution and the autogenerated files have changed, visual studio takes an...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.