Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Visual Basic .NET/Interfaces

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Interfaces An interface is the public methods of a class. They are declared with the Implements keyword. To create an interface: Public Interface Interface1 Function Function1() As String End Interface To use it from a class: Public Class MyClassFromInterface implements Interface1() ' by pressing enter the IDE creates automatically the implemented interface elements: Public Function Function1() As String Implements Interface1.Function1 ' ... End Function End Class Reference http://msdn.microsoft.com/en-us/library/28e2e18x%28v=vs.71%29.aspx http://www.youtube.com/watch?v=jV4_VhOCMuU fr:Visual Basic .NET/Interfaces