Public WriteOnly Property setOperator() As String Set(ByVal Value As String) mOperator = Value End Set End Property Public ReadOnly Property GetOperator() As String Get Return mOperator End Get End Property
Public Class Form1 Inherits System.Windows.Forms.Form Public Sub setvalue(ByVal i As Integer) '设置变量参数 End Sub End Class Public Sub Doeve() dim f as Form1 f.setvalue(??) End Sub 对VB.net感兴趣的请加入15636854讨论群