Solved

VS2008 automatically create interface members

Posted on 2010-08-23
2
403 Views
Last Modified: 2013-11-27
I have a class implementing interface , how can get all members to be implemented to be created automaticlly in my class, using VS2008?
0
Comment
Question by:rarchinio
2 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 50 total points
ID: 33499028
If you use the class designer, you'll have this function.
 

When you have a class inherited from a interface, there will be lollipop for the interface.

1. Select the class's lollipop of the interface, Expand it using context menu.
2. Select the interface name label of the lollipop,  trigger context menu, there will be two commands for implement interface, implicitly and explicitly.
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 33499041
right click on the interface name in your class code and choose: Implement Interface.
see screenshot
Untitled.jpg
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now