all groups > vb.net > may 2004 >
You're in the

vb.net

group:

Auto-creation of Interface members


Auto-creation of Interface members Brian Mitchell
5/16/2004 11:10:56 PM
vb.net:
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!!!

Re: Auto-creation of Interface members hirf-spam-me-here NO[at]SPAM gmx.at
5/17/2004 10:42:48 AM
* "Brian Mitchell" <MagellanTX@hotmail.com> scripsit:
[quoted text, click to view]

You need VS.NET 2003.

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

--
Herfried K. Wagner [MVP]
Re: Auto-creation of Interface members Brian Mitchell
5/17/2004 4:59:43 PM
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!!



[quoted text, click to view]

Re: Auto-creation of Interface members hirf-spam-me-here NO[at]SPAM gmx.at
5/18/2004 1:14:45 AM
* "Brian Mitchell" <MagellanTX@hotmail.com> scripsit:
[quoted text, click to view]

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

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button