Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VS2008 automatically create interface members

Posted on 2010-08-23
2
Medium Priority
?
420 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 200 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:Meir Rivkin
ID: 33499041
right click on the interface name in your class code and choose: Implement Interface.
see screenshot
Untitled.jpg
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

886 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