Solved

VS2008 automatically create interface members

Posted on 2010-08-23
2
411 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
[X]
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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

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 …
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

617 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