client.vb

来自「一个饭店管理系统」· VB 代码 · 共 15 行

VB
15
字号
Imports System
Imports System.Reflection
Module MyClient
Sub Main()
	Dim a As Reflection.Assembly = Reflection.Assembly.LoadFrom("C:\\MyDLL.dll")
	' Get the type names from the assembly.
	'Dim Ts as Type()=a.GetTypes(0)
	Dim Hello As Type = a.GetTypes(0)
	Dim SayHello As MethodInfo
	
	SayHello = Hello.GetMethod("SayHello")

   'Dim MyObj As New Hello()
    Dim strSomeBody As String
    Console.WriteLine("叫块

⌨️ 快捷键说明

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