📄 interfaceh.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 + -