Properties only accept one parameter.
If you want to pass multiple parameters, pass a single Structure containing all of the values or declare a Method using
Public Sub
or
Public Function
Below is actual code for a property from one of my DLLs that I converted from VB6 to VB .NET:
VB6
Dim strTargetFilename as String=""
Public Property Get TargetFile() As Variant
TargetFile = strTargetFilename
End Property
Public Property Let TargetFile(ByVal vNewValue As Variant)
strTargetFilename = vNewValue
End Property
VB .NET
Dim strTargetFilename as String=""
Public Property TargetFile() As String
Get
TargetFile = strTargetFilename
End Get
Set(value As String)
strTargetFilename = value
End Set
End Property