⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 interfaceh.vb

📁 大名鼎鼎的mono是.NET平台的跨平台(支持linux
💻 VB
字号:
' In this test all implemented' member names are different from ' the interface member namesDelegate Sub d()Interface I    Function F() As Object    Sub S(ByVal i As Integer)    Property P() As Object    Event e(ByVal i As Integer)    Event e1 As dEnd InterfaceClass C    Implements I    Function CF() As Object Implements I.F    End Function    Sub CS(ByVal i As Integer) Implements I.S    End Sub    Sub S1(ByVal i As Integer)    End Sub    Property CP() As Object Implements I.P        Get        End Get        Set(ByVal value As Object)        End Set    End Property    Event Ce(ByVal i As Integer) Implements I.e    Event Ce1 As d Implements I.e1End ClassModule InterfaceA    Function Main() As Integer        Dim x As C = New C()        x.CF()        Dim y As I = New C()        y.F()    End FunctionEnd Module

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -