Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Nikhil Gaur
(70)
Nadheera V
(30)
Shameer
(18)
Last 7 Days
Nikhil Gaur
(621)
Anil Kumar ...
(582)
Abhisek Panda
(445)
more...
Resources
»
Articles
»
.NET Framework
»
How to implement multiple interface in VB.NET
Posted Date: 10 Jul 2004
Resource Type:
Articles
Category:
.NET Framework
Author:
deepakbarad
Member Level:
Bronze
Rating:
Points
: 10
**multiple interface
****************************
Interface IGeneral
Function GeneralTest() As String
End Interface
Interface ISpecial
Function SpecialTest() As String
End Interface
Public Class Tests
Implements IGeneral
Implements ISpecial
Public Function MyGeneralTest() As String _
Implements IGeneral.GeneralTest
''secondary interface
End Function
Public Function MySpecialTest() As String _
Implements ISpecial.SpecialTest
''secondary interface
End Function
Public Function MyPrimaryTest() As String
'''primary interface
End Function
private function MyPrivateTest() as string
'''not a part of primary interface,bcoz access specifier is private.
end function
End Class
Public Class ConductTest
Dim objGenTest As IGeneral = New Tests()
Dim objSplTest As ISpecial = New Tests()
Dim objTests As New Tests()
Private Sub Start()
objGenTest.GeneralTest()
objSplTest.SpecialTest()
objTests.MyGeneralTest()
objTests.GeneralTest()
objTests.SpecialTest()
End Sub
End Class
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
to add tags.
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
How to encrypt and decrypt a string - a simple encryption/decryption
Previous Resource:
How to filter data from a dataset or datatable
Return to Discussion Resource Index
Post New Resource
Category:
.NET Framework
Post resources and
earn money
!
Related Resources
.Net Compact Framework Programming
Incrementing the serial number in Datagrid Columns
FileViewer
One small Tip about Using Keyword as properties or functions......
Asynchronous socket Programming using C#
Clear the Forms control which either in a Group box or any container control
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use