Solved

VS2008 automatically create interface members

Posted on 2010-08-23
2
405 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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