473,561 Members | 3,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disable Intellisense for the class member

Who remember how can I disable the intellisense for one class member only? I
remember that it was a special tag making the class member invisible,
excluding it from the drop-down list showing by the VS when we were pointing
to the object created from the class. Forgot this tag... It was something
like [Unbrowsable] or something...

Just D.
Feb 17 '06 #1
3 2202
You can use the EditorBrowsable attribute.
http://msdn.microsoft.com/library/de...classtopic.asp

--
Tim Wilson
..NET Compact Framework MVP

"Just D." <no@spam.please > wrote in message
news:hkaJf.1579 0$eR.3421@fed1r ead03...
Who remember how can I disable the intellisense for one class member only? I remember that it was a special tag making the class member invisible,
excluding it from the drop-down list showing by the VS when we were pointing to the object created from the class. Forgot this tag... It was something
like [Unbrowsable] or something...

Just D.

Feb 17 '06 #2
Hi,
It's BrowsableAttrib ute

Out of curiosity , why you want to do this?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Just D." <no@spam.please > wrote in message
news:hkaJf.1579 0$eR.3421@fed1r ead03...
Who remember how can I disable the intellisense for one class member only?
I remember that it was a special tag making the class member invisible,
excluding it from the drop-down list showing by the VS when we were
pointing to the object created from the class. Forgot this tag... It was
something like [Unbrowsable] or something...

Just D.

Feb 17 '06 #3
Hi,

It's not BrowsableAttrib ute, but EditorBrowsable Attribute the correct
answer.

sorry for the confusion

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Just D." <no@spam.please > wrote in message
news:hkaJf.1579 0$eR.3421@fed1r ead03...
Who remember how can I disable the intellisense for one class member only?
I remember that it was a special tag making the class member invisible,
excluding it from the drop-down list showing by the VS when we were
pointing to the object created from the class. Forgot this tag... It was
something like [Unbrowsable] or something...

Just D.

Feb 17 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
2089
by: Peter van der Goes | last post by:
When a struct is created in C# and a parameterized constructor defined, the IntelliSense editor shows only the syntax for the parameterized constructor in tooltips, but not for the default constructor which appears to still exist. If this is not designed behavior, is it a bug or am I misusing my struct? If it is by design, could you please...
1
2190
by: Christopher W. Douglas | last post by:
I'm working in VB.Net, using Visual Studio 2003. I have a project, let's call it Foo, that contains common methods, forms, and objects I use in other projects. It compiles as Foo.dll, which I then reference from the project that needs it. Let's say I have a method, Bar, that I want to access from another project. If I add a public module...
5
2020
by: Simon | last post by:
Hi, I'm slowly moving from VB.Net to C#. When using VB.Net in Visual Studio (for Windows and Web Forms) the code window identifies a set of '(Overrides)'. I am unable to locate and such IDE/Intellisense help for this in C#. Is it there? Thanks,
2
1615
by: Q. John Chen | last post by:
I want add comment/description to a class member so it will show up in the intellisense in addition to the member's signiture. I tried couple of tags but still no comment. What am I missing? Thanks John
6
3549
by: Dave | last post by:
Is there a way to put some comments in my class designs that will show up in the IDE intellisense so I can add some information about the parameters to be passed to member methods? Thanks in advance for the help. Dave
4
1646
by: ChairShot | last post by:
I want to disable intellisense. I'm using vb.net 2003 with visual studio. I am a college stundent and it is slowing me down so I can't finish my work. dos-man
3
1487
by: Antonio | last post by:
Hi, I have an abstract ClassA in ProjectA: Public MustInherit Class ClassA : End Class I inherit ClassA on ClassB from ProjectB: Public Class ClassB Inherits ProjectA.ClassA
3
2491
w33nie
by: w33nie | last post by:
I want to disable the text boxes, captain_name and captain_email, but only if the radio button, captain_guarantee, has NOT been checked. how do i do this? <form name="formTeamApplication" action="teams_process.php" method="post" onSubmit="validate()"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> ...
5
3234
by: wal | last post by:
Hello, I'm using __declspec(property) to access get/set methods as properties (like in C# and VB.NET). Now, the problem is that both the property name and the get/set methods show in the intellisense list. Is there anyway to remove the names of the get/set methods from the intellisense list? Here's an example, I have two methods, one is a...
0
7647
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7570
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8088
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7930
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6210
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5472
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3617
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3600
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
896
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.