By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,224 Members | 1,233 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,224 IT Pros & Developers. It's quick & easy.

Auto-creation of Interface members

P: n/a
What's the secret to getting the text editor to automatically create the
interface members when you use an implements?

I am implementing an interface in my class, which has about 20 functions, 2
events, and 34 properties.

Thanks!!!
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
* "Brian Mitchell" <Ma********@hotmail.com> scripsit:
What's the secret to getting the text editor to automatically create the
interface members when you use an implements?

I am implementing an interface in my class, which has about 20 functions, 2
events, and 34 properties.


You need VS.NET 2003.

"Tools" -> "Options..." -> "Text Editor" -> "Basic" -> "VB Specific" ->
[X] "Auto insert ...".

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

P: n/a
Thank you for the reply.

Yes, I have VS 2003 and the Automatic insertion of.... is checked in. When I
implement an interface from a third party .dll it automatically creates the
members, however if I define the interfaces myself (in my own class) it does
not. Is there something special you need in the interface definition to have
it automatically genetate?

Thanks!!

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2g************@uni-berlin.de...
* "Brian Mitchell" <Ma********@hotmail.com> scripsit:
What's the secret to getting the text editor to automatically create the
interface members when you use an implements?

I am implementing an interface in my class, which has about 20 functions, 2 events, and 34 properties.


You need VS.NET 2003.

"Tools" -> "Options..." -> "Text Editor" -> "Basic" -> "VB Specific" ->
[X] "Auto insert ...".

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3

P: n/a
* "Brian Mitchell" <Ma********@hotmail.com> scripsit:
Yes, I have VS 2003 and the Automatic insertion of.... is checked in. When I
implement an interface from a third party .dll it automatically creates the
members, however if I define the interfaces myself (in my own class) it does
not. Is there something special you need in the interface definition to have
it automatically genetate?


There is not something special. After typing 'Implements <name of
interface>' and pressing return, the code is inserted automatically.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.