Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

VS2008 automatically create interface members

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…

856 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